| - -( dyne // software :: culture :: events :: planet :: discussion :: museum \\ freaknet )- - |
Definition in file jutils.h.
#include <stdio.h>
#include <string.h>
#include <libintl.h>
Go to the source code of this file.
Defines | |
| #define | MAX_DEBUG 2 |
| #define | FUNC 2 |
| #define | WARN 1 |
| #define | _(x) x |
| #define | CHAR_SET(func, var) |
| #define | INT_SET(func, var) |
| #define | FLOAT_SET(func, var) |
Functions | |
| void | MuseSetDebug (int lev) |
| int | MuseGetDebug () |
| void | MuseSetLog (char *file) |
| void | MuseCloseLog () |
| void | notice (const char *format,...) |
| void | func (const char *format,...) |
| void | error (const char *format,...) |
| void | act (const char *format,...) |
| void | warning (const char *format,...) |
| double | dtime () |
| void | jsleep (int sec, long nsec) |
| int | set_rtpriority (int max) |
| void | chomp (char *str) |
| int | resolve (char *host, char *ip) |
|
|
|
|
|
Value: char var[MAX_VALUE_SIZE]; \ void func(char *in) { \ if(strncmp(var,in,MAX_VALUE_SIZE)==0) return; \ else strncpy(var,in,MAX_VALUE_SIZE); \ } \ char *func() { return var; }; |
|
|
Value: |
|
|
|
|
|
Value: |
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 110 of file jutils.cpp. |
|
|
Definition at line 169 of file jutils.cpp. |
|
|
Definition at line 163 of file jutils.cpp. |
|
||||||||||||
|
Definition at line 92 of file jutils.cpp. |
|
||||||||||||
|
Definition at line 78 of file jutils.cpp. |
|
||||||||||||
|
Definition at line 151 of file jutils.cpp. |
|
|
Definition at line 146 of file jutils.cpp. |
|
|
Definition at line 58 of file jutils.cpp. |
|
|
Definition at line 52 of file jutils.cpp. |
|
|
Definition at line 138 of file jutils.cpp. |
|
||||||||||||
|
Definition at line 63 of file jutils.cpp. |
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
Definition at line 123 of file jutils.cpp. |
|
|
|
|
| Copyleft 2000 - 2008 dyne.org foundation and respective authors. Verbatim copying and distribution is permitted in any medium, provided this notice is preserved. Send inquiries & questions to dyne.org's hackers. |
|