2 * (c) Oleg Puchinin 2006-2008
3 * graycardinalster@gmail.com
20 __export
char * dcp (char * S
) ;
21 __export
void Dzero (void * ptr
) ;
22 __export
int Dsched_yield () ;
23 int Dclone (int (*fn
)(void *), void * param
) ;
26 __export
int Dpoll_add (EArray
* d_array
, int fd
, short events
) ;
27 __export
int Dpoll_coallesce (EArray
* d
, struct pollfd
** p
) ;
28 __export
int Dsplit (char * STR
, char *ch
, DList
* to_list
) ;
29 __export
int Dsplit (char * buf
, size_t buflen
, char *str
, EList
* to_list
) ;
32 #define __export extern "C"
36 __export uchar_t
* base64_code (unsigned char * S
, int SIZE
) ;
37 __export uchar_t
* base64_decode (unsigned char * S
, int SIZE
) ;
38 __export
int dexec_wflags (int flags
) ;
39 __export
int dexec_rflags (int flags
) ;
40 //__export int Dexec_op (struct __dexec_t *buf, int count, struct __djob_t *ctx) ;
41 __export
void Dexec_init (struct __djob_t
* ctx
) ;
42 //__export int Dexec (int ops, struct __dexec_t *other_buf, int count, char *cmd, struct __djob_t *ctx) ;
43 __export __djob_t
* Dexec (unsigned int opts
, char * cmd
);
45 __export
int Dexec_done (struct __djob_t
*ctx
) ;
47 __export
void Dtimer () ;
48 __export
struct timeval
*the_time () ;
49 __export
void print_the_time (FILE * file_my
) ;
50 __export
int Dterm_one_kick (int fd
) ;
51 __export
char *Dversion () ;
52 __export
char * Dtimestr (char * buf
, int max
) ;
54 #include <gc_strings.h>