Changeset 27 for trunk/include
- Timestamp:
- Apr 6, 2006, 8:55:51 PM (19 years ago)
- Location:
- trunk/include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/samhain.h
r25 r27 138 138 SH_LEVEL_USER0 = 7, 139 139 SH_LEVEL_USER1 = 8, 140 SH_LEVEL_PRELINK = 9 140 SH_LEVEL_USER2 = 9, 141 SH_LEVEL_USER3 = 10, 142 SH_LEVEL_USER4 = 11, 143 SH_LEVEL_PRELINK = 12 141 144 }; 142 145 -
trunk/include/sh_error.h
r22 r27 30 30 SH_ERR_T_START = 0, 31 31 32 /* 1- 9= SH_LEVEL_XXX */32 /* 1-13 = SH_LEVEL_XXX */ 33 33 34 34 SH_ERR_T_RO = SH_LEVEL_READONLY, … … 40 40 SH_ERR_T_USER0 = SH_LEVEL_USER0, 41 41 SH_ERR_T_USER1 = SH_LEVEL_USER1, 42 SH_ERR_T_USER2 = SH_LEVEL_USER2, 43 SH_ERR_T_USER3 = SH_LEVEL_USER3, 44 SH_ERR_T_USER4 = SH_LEVEL_USER4, 42 45 SH_ERR_T_PRELINK = SH_LEVEL_PRELINK, 43 46 44 SH_ERR_T_DIR = 1 0,45 SH_ERR_T_FILE = 1 1,46 SH_ERR_T_NAME = 1 2,47 SH_ERR_T_DIR = 13, 48 SH_ERR_T_FILE = 14, 49 SH_ERR_T_NAME = 15, 47 50 48 SH_ERR_T_END = 1 351 SH_ERR_T_END = 16 49 52 }; 50 53 -
trunk/include/sh_files.h
r22 r27 73 73 int sh_files_pushdir_user1 (const char * dirName); 74 74 75 /* push a directory on the stack USER2 76 */ 77 int sh_files_pushdir_user2 (const char * dirName); 78 79 /* push a directory on the stack USER3 80 */ 81 int sh_files_pushdir_user3 (const char * dirName); 82 83 /* push a directory on the stack USER4 84 */ 85 int sh_files_pushdir_user4 (const char * dirName); 86 75 87 /* push a directory on the stack PRELINK 76 88 */ … … 109 121 */ 110 122 int sh_files_pushfile_user1 (const char * dirName); 123 124 /* push a file on the stack USER2 125 */ 126 int sh_files_pushfile_user2 (const char * dirName); 127 128 /* push a file on the stack USER3 129 */ 130 int sh_files_pushfile_user3 (const char * dirName); 131 132 /* push a file on the stack USER4 133 */ 134 int sh_files_pushfile_user4 (const char * dirName); 111 135 112 136 /* push a file on the stack PRELINK … … 155 179 int sh_files_redef_user0(const char * str); 156 180 int sh_files_redef_user1(const char * str); 181 int sh_files_redef_user2(const char * str); 182 int sh_files_redef_user3(const char * str); 183 int sh_files_redef_user4(const char * str); 157 184 int sh_files_redef_prelink(const char * str); 158 185 int sh_files_redef_readonly(const char * str); -
trunk/include/sh_forward.h
r22 r27 41 41 */ 42 42 int sh_forward_make_client (const char * str); 43 44 /* set port to which we connect 45 */ 46 int sh_forward_server_port (const char * str); 43 47 44 48 #ifdef SH_WITH_SERVER … … 91 95 #endif 92 96 93 #if def SH_WITH_CLIENT97 #if defined(SH_WITH_CLIENT) || defined(SH_WITH_SERVER) 94 98 /* talk to server 95 99 */ 96 100 long sh_forward (char * errmsg); 97 101 102 /* set log server 103 */ 104 int sh_forward_setlogserver (const char * address); 105 void reset_count_dev_server(void); 106 #endif 107 108 #ifdef SH_WITH_CLIENT 98 109 99 110 /* request file from server. file may be "CONF" or "DATA". … … 101 112 long sh_forward_req_file (char * file); 102 113 103 /* set log server104 */105 int sh_forward_setlogserver (const char * address);106 void reset_count_dev_server(void);107 108 114 #endif 109 115 -
trunk/include/sh_tools.h
r1 r27 53 53 54 54 55 #if defined (SH_WITH_CLIENT) 55 #if defined (SH_WITH_CLIENT) || defined(SH_WITH_SERVER) 56 56 57 57 unsigned long write_port (int sockfd, char *buf, unsigned long nbytes, … … 65 65 unsigned long * length, char * u); 66 66 67 68 SL_TICKET open_tmp (void); 69 int close_tmp (SL_TICKET fd); 70 int rewind_tmp (SL_TICKET fd); 67 /* 68 SL_TICKET open_tmp (void); 69 int close_tmp (SL_TICKET fd); 70 int rewind_tmp (SL_TICKET fd); 71 */ 71 72 72 73 void sh_tools_server_cmd(const char * srvcmd); … … 78 79 #endif 79 80 81 #if defined(SH_WITH_CLIENT) || defined(SH_WITH_SERVER) || defined(SH_STEALTH) || defined(WITH_GPG) || defined(WITH_PGP) 82 SL_TICKET open_tmp (void); 83 int close_tmp (SL_TICKET fd); 84 int rewind_tmp (SL_TICKET fd); 85 #endif 80 86 81 87 #endif -
trunk/include/sh_unix.h
r25 r27 99 99 extern unsigned long mask_USER0; 100 100 extern unsigned long mask_USER1; 101 extern unsigned long mask_USER2; 102 extern unsigned long mask_USER3; 103 extern unsigned long mask_USER4; 101 104 /* like READONLY, but without MTM,CTM,SIZ,INO, abd with PREL) 102 105 */
Note:
See TracChangeset
for help on using the changeset viewer.