
Go to the source code of this file.
Defines | |
| #define | SIGALRM 14 |
| #define | DIR_SEPARATOR '/' |
| #define | DIR_SEPARATOR_STR "/" |
| #define | PATH_SEPARATOR ';' |
| #define | PATH_SEPARATOR_STR ";" |
| #define | NEWLINE "\n" |
| #define | CREAT(p, m) creat(p, m) |
| #define | FOPEN(f, m) fopen(f, m) |
| #define | OPENDIR(d) opendir(d) |
| #define | OPEN(f) open(f) |
| #define | CHDIR(d) chdir(d) |
| #define | CLOSE(f) close(f) |
| #define | RMDIR(f) rmdir(f) |
| #define | ACCESS(p, m) access(p, m) |
| #define | CHMOD(f, p) chmod(f, p) |
| #define | FSTAT(h, b) fstat(h, b) |
| #define | PIPE(h) pipe(h) |
| #define | REMOVE(p) remove(p) |
| #define | RENAME(o, n) rename(o, n) |
| #define | STAT(p, b) stat(p, b) |
| #define | STAT64(p, b) stat64(p, b) |
| #define | UNLINK(f) unlink(f) |
| #define | WRITE(f, b, n) write(f, b, n) |
| #define | READ(f, b, n) read(f, b, n) |
| #define | GN_FREAD(b, s, c, f) fread(b, s, c, f) |
| #define | GN_FWRITE(b, s, c, f) fwrite(b, s, c, f) |
| #define | SYMLINK(a, b) symlink(a, b) |
| #define | MMAP(s, l, p, f, d, o) mmap(s, l, p, f, d, o) |
| #define | MUNMAP(s, l) munmap(s, l) |
| #define | STRERROR(i) strerror(i) |
| #define | RANDOM() random() |
| #define | READLINK(p, b, s) readlink(p, b, s) |
| #define | LSTAT(p, b) lstat(p, b) |
| #define | LSTAT64(p, b) lstat64(p, b) |
| #define | PRINTF printf |
| #define | FPRINTF fprintf |
| #define | VPRINTF(f, a) vprintf(f, a) |
| #define | VFPRINTF(s, f, a) vfprintf(s, f, a) |
| #define | VSPRINTF(d, f, a) vsprintf(d, f, a) |
| #define | VSNPRINTF(str, size, fmt, a) vsnprintf(str, size, fmt, a) |
| #define | _REAL_SNPRINTF snprintf |
| #define | SPRINTF sprintf |
| #define | VSSCANF(s, f, a) vsscanf(s, f, a) |
| #define | SSCANF sscanf |
| #define | VFSCANF(s, f, a) vfscanf(s, f, a) |
| #define | VSCANF(f, a) vscanf(f, a) |
| #define | SCANF scanf |
| #define | FSCANF fscanf |
| #define | WAITPID(p, s, o) waitpid(p, s, o) |
| #define | ACCEPT(s, a, l) accept(s, a, l) |
| #define | BIND(s, n, l) bind(s, n, l) |
| #define | CONNECT(s, n, l) connect(s, n, l) |
| #define | GETPEERNAME(s, n, l) getpeername(s, n, l) |
| #define | GETSOCKNAME(s, n, l) getsockname(s, n, l) |
| #define | GETSOCKOPT(s, l, o, v, p) getsockopt(s, l, o, v, p) |
| #define | LISTEN(s, b) listen(s, b) |
| #define | RECV(s, b, l, f) recv(s, b, l, f) |
| #define | RECVFROM(s, b, l, f, r, o) recvfrom(s, b, l, f, r, o) |
| #define | SELECT(n, r, w, e, t) select(n, r, w, e, t) |
| #define | SEND(s, b, l, f) send(s, b, l, f) |
| #define | SENDTO(s, b, l, f, o, n) sendto(s, b, l, f, o, n) |
| #define | SETSOCKOPT(s, l, o, v, n) setsockopt(s, l, o, v, n) |
| #define | SHUTDOWN(s, h) shutdown(s, h) |
| #define | SOCKET(a, t, p) socket(a, t, p) |
| #define | GETHOSTBYADDR(a, l, t) gethostbyname(a, l, t) |
| #define | GETHOSTBYNAME(n) gethostbyname(n) |
| #define _REAL_SNPRINTF snprintf |
Definition at line 488 of file plibc.h.
Referenced by add_extra_headers(), and build_header_response().
| #define ACCEPT | ( | s, | |||
| a, | |||||
| l | ) | accept(s, a, l) |
| #define BIND | ( | s, | |||
| n, | |||||
| l | ) | bind(s, n, l) |
| #define CLOSE | ( | f | ) | close(f) |
Definition at line 459 of file plibc.h.
Referenced by connection_close_error(), MHD_accept_connection(), MHD_handle_connection(), MHD_start_daemon(), and MHD_stop_daemon().
| #define GETSOCKOPT | ( | s, | |||
| l, | |||||
| o, | |||||
| v, | |||||
| p | ) | getsockopt(s, l, o, v, p) |
| #define LISTEN | ( | s, | |||
| b | ) | listen(s, b) |
| #define MMAP | ( | s, | |||
| l, | |||||
| p, | |||||
| f, | |||||
| d, | |||||
| o | ) | mmap(s, l, p, f, d, o) |
| #define MUNMAP | ( | s, | |||
| l | ) | munmap(s, l) |
| #define RECV | ( | s, | |||
| b, | |||||
| l, | |||||
| f | ) | recv(s, b, l, f) |
| #define RECVFROM | ( | s, | |||
| b, | |||||
| l, | |||||
| f, | |||||
| r, | |||||
| o | ) | recvfrom(s, b, l, f, r, o) |
| #define SELECT | ( | n, | |||
| r, | |||||
| w, | |||||
| e, | |||||
| t | ) | select(n, r, w, e, t) |
| #define SEND | ( | s, | |||
| b, | |||||
| l, | |||||
| f | ) | send(s, b, l, f) |
Definition at line 507 of file plibc.h.
Referenced by do_write(), and MHD_connection_handle_write().
| #define SENDTO | ( | s, | |||
| b, | |||||
| l, | |||||
| f, | |||||
| o, | |||||
| n | ) | sendto(s, b, l, f, o, n) |
| #define SETSOCKOPT | ( | s, | |||
| l, | |||||
| o, | |||||
| v, | |||||
| n | ) | setsockopt(s, l, o, v, n) |
| #define SHUTDOWN | ( | s, | |||
| h | ) | shutdown(s, h) |
Definition at line 510 of file plibc.h.
Referenced by connection_close_error(), do_read(), MHD_accept_connection(), MHD_handle_connection(), MHD_queue_response(), and MHD_stop_daemon().
| #define SIGALRM 14 |
Definition at line 32 of file plibc.h.
Referenced by __attribute__(), MHD_cleanup_connections(), and MHD_stop_daemon().
| #define SOCKET | ( | a, | |||
| t, | |||||
| p | ) | socket(a, t, p) |
| #define SPRINTF sprintf |
| #define STRERROR | ( | i | ) | strerror(i) |
Definition at line 477 of file plibc.h.
Referenced by do_read(), do_write(), MHD_accept_connection(), MHD_connection_handle_write(), MHD_handle_connection(), MHD_select(), and MHD_start_daemon().
| #define VSNPRINTF | ( | str, | |||
| size, | |||||
| fmt, | |||||
| a | ) | vsnprintf(str, size, fmt, a) |
1.5.7.1