Changeset 170 for trunk/include/sh_unix.h
- Timestamp:
- Apr 30, 2008, 11:56:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/sh_unix.h
r169 r170 93 93 #define MODI_TXT ((1 << 14)|MODI_CHK) 94 94 95 #define MODI_TXT_ENABLED(a) (((a)&(1 << 14))!=0) 96 95 97 #define SH_TXT_MAX 9200 96 98 … … 156 158 /* mlock utilities 157 159 */ 158 int sh_unix_mlock(c har * file, int line, void * addr, size_t len);160 int sh_unix_mlock(const char * file, int line, void * addr, size_t len); 159 161 int sh_unix_munlock(void * addr, size_t len); 160 int sh_unix_count_mlock( );162 int sh_unix_count_mlock(void); 161 163 /* public for unit tests */ 162 int sh_unix_pagesize( );164 int sh_unix_pagesize(void); 163 165 unsigned long sh_unix_lookup_page(void * in_addr, size_t len, int * num_pages); 164 166 … … 183 185 */ 184 186 int sh_unix_set_io_limit (const char * c); 185 void sh_unix_io_pause ( );187 void sh_unix_io_pause (void); 186 188 187 189 /* get file type … … 191 193 /* reset masks for policies 192 194 */ 193 int sh_unix_maskreset( );195 int sh_unix_maskreset(void); 194 196 195 197 /* return true if database is remote 196 198 */ 197 int file_is_remote ( );199 int file_is_remote (void); 198 200 199 201 /* return the path to the configuration/database file … … 220 222 /* write the PID file 221 223 */ 222 int sh_unix_write_pid_file( );224 int sh_unix_write_pid_file(void); 223 225 224 226 /* rm the PID file 225 227 */ 226 int sh_unix_rm_pid_file( );228 int sh_unix_rm_pid_file(void); 227 229 228 230
Note:
See TracChangeset
for help on using the changeset viewer.