Changeset 131 for trunk/include
- Timestamp:
- Oct 22, 2007, 11:19:15 PM (17 years ago)
- Location:
- trunk/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/samhain.h
r115 r131 42 42 #define SH_MAXBUF 4096 43 43 #define SH_PATHBUF 256 44 45 #define SH_GRBUF_SIZE 4096 46 #define SH_PWBUF_SIZE 4096 44 47 45 48 /* Sizes for arrays (user, group, timestamp). -
trunk/include/sh_files.h
r27 r131 21 21 #define SH_FILES_H 22 22 23 struct sh_dirent { 24 char * sh_d_name; 25 struct sh_dirent * next; 26 }; 27 28 /* free a directory listing 29 */ 30 void kill_sh_dirlist (struct sh_dirent * dirlist); 31 32 /* add an entry to a directory listing 33 */ 34 struct sh_dirent * addto_sh_dirlist (struct dirent * thisEntry, 35 struct sh_dirent * dirlist); 23 36 /* register exceptions to hardlink check 24 37 */ -
trunk/include/sh_static.h
r111 r131 15 15 void sh_setpwent(void); 16 16 struct group * sh_getgrnam(const char *name); 17 17 18 struct passwd * sh_getpwnam(const char *name); 19 int getpwnam_r(const char *name, struct passwd *pwbuf, 20 char *buf, size_t buflen, struct passwd **pwbufp); 21 18 22 struct group * sh_getgrgid(gid_t gid); 23 int getgrgid_r(gid_t gid, struct group *gbuf, 24 char *buf, size_t buflen, struct group **gbufp); 25 19 26 struct passwd * sh_getpwuid(uid_t uid); 27 int getpwuid_r(uid_t uid, struct passwd *pwbuf, 28 char *buf, size_t buflen, struct passwd **pwbufp); 29 20 30 #endif 21 31 … … 29 39 #define sh_initgroups initgroups 30 40 #define sh_getgrgid getgrgid 41 #define sh_getgrgid_r getgrgid_r 42 #define sh_getpwnam getpwnam 43 #define sh_getpwnam_r getpwnam_r 44 #define sh_getpwuid getpwuid 45 #define sh_getpwuid_r getpwuid_r 31 46 #define sh_getpwent getpwent 32 #define sh_getpwnam getpwnam33 #define sh_getpwuid getpwuid34 47 #define sh_endpwent endpwent 35 48 #define sh_setpwent setpwent -
trunk/include/slib.h
r76 r131 353 353 int sl_read_timeout_prep (SL_TICKET ticket); 354 354 355 int sl_read_timeout_fd (int fd, void * buf, 356 size_t count, int timeout, int is_nonblocking); 357 355 358 int sl_read_timeout (SL_TICKET ticket, void * buf, 356 size_t count, int timeout );359 size_t count, int timeout, int is_nonblocking); 357 360 358 361 int sl_read_fast (SL_TICKET ticket, void * buf_in, size_t count);
Note:
See TracChangeset
for help on using the changeset viewer.