pike.git / src / fdlib.h

version» Context lines:

pike.git/src/fdlib.h:82:    debug_fd_query_properties(dmalloc_touch_fd(fd),(Y))   #define fd_stat(F,BUF) debug_fd_stat(F,BUF)   #define fd_lstat(F,BUF) debug_fd_stat(F,BUF)   #define fd_truncate(F,LEN) debug_fd_truncate(F,LEN)   #define fd_rmdir(DIR) debug_fd_rmdir(DIR)   #define fd_unlink(FILE) debug_fd_unlink(FILE)   #define fd_mkdir(DIR,MODE) debug_fd_mkdir(DIR,MODE)   #define fd_rename(O,N) debug_fd_rename(O,N)   #define fd_chdir(DIR) debug_fd_chdir(DIR)   #define fd_get_current_dir_name() debug_fd_get_current_dir_name() + #define fd_normalize_path(PATH) debug_fd_normalize_path(PATH)   #define fd_open(X,Y,Z) dmalloc_register_fd(debug_fd_open((X),(Y)|fd_BINARY,(Z)))   #define fd_socket(X,Y,Z) dmalloc_register_fd(debug_fd_socket((X),(Y),(Z)))   #define fd_pipe(X) debug_fd_pipe( (X) DMALLOC_POS )   #define fd_accept(X,Y,Z) dmalloc_register_fd(debug_fd_accept((X),(Y),(Z)))   #define fd_accept4(X,Y,Z,F) dmalloc_register_fd(accept4((X),(Y),(Z),(F)))      #define fd_bind(fd,X,Y) debug_fd_bind(dmalloc_touch_fd(fd), (X), (Y))   #define fd_getsockopt(fd,X,Y,Z,Q) debug_fd_getsockopt(dmalloc_touch_fd(fd), (X),(Y),(Z),(Q))   #define fd_setsockopt(fd,X,Y,Z,Q) debug_fd_setsockopt(dmalloc_touch_fd(fd), (X),(Y),(Z),(Q))   #define fd_recv(fd,X,Y,Z) debug_fd_recv(dmalloc_touch_fd(fd), (X), (Y),(Z))
pike.git/src/fdlib.h:132:   PMOD_EXPORT p_wchar1 *pike_dwim_utf8_to_utf16(const p_wchar0 *str);   PMOD_EXPORT p_wchar0 *pike_utf16_to_utf8(const p_wchar1 *str);   PMOD_EXPORT int debug_fd_stat(const char *file, PIKE_STAT_T *buf);   PMOD_EXPORT int debug_fd_truncate(const char *file, INT64 len);   PMOD_EXPORT int debug_fd_rmdir(const char *dir);   PMOD_EXPORT int debug_fd_unlink(const char *file);   PMOD_EXPORT int debug_fd_mkdir(const char *dir, int mode);   PMOD_EXPORT int debug_fd_rename(const char *old, const char *new);   PMOD_EXPORT int debug_fd_chdir(const char *dir);   PMOD_EXPORT char *debug_fd_get_current_dir_name(void); + PMOD_EXPORT char *debug_fd_normalize_path(const char *path);   PMOD_EXPORT FD debug_fd_open(const char *file, int open_mode, int create_mode);   PMOD_EXPORT FD debug_fd_socket(int domain, int type, int proto);   PMOD_EXPORT int debug_fd_pipe(int fds[2] DMALLOC_LINE_ARGS);   PMOD_EXPORT FD debug_fd_accept(FD fd, struct sockaddr *addr, ACCEPT_SIZE_T *addrlen);   SOCKFUN2(bind, struct sockaddr *, int)   PMOD_EXPORT int debug_fd_connect (FD fd, struct sockaddr *a, int len);   SOCKFUN4(getsockopt,int,int,void*,ACCEPT_SIZE_T *)   SOCKFUN4(setsockopt,int,int,void*,int)   SOCKFUN3(recv,void *,int,int)   SOCKFUN2(getsockname,struct sockaddr *,ACCEPT_SIZE_T *)