Changes in trunk/include/sh_unix.h [20:27]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/sh_unix.h
r20 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 */ … … 141 144 int sh_unix_munlock(void * addr, size_t len); 142 145 int sh_unix_count_mlock(); 146 /* public for unit tests */ 147 int sh_unix_pagesize(); 148 unsigned long sh_unix_lookup_page(void * in_addr, size_t len, int * num_pages); 143 149 144 150 /* chroot directory … … 148 154 /* whether to use localtime for file timesatams in logs 149 155 */ 150 int sh_unix_uselocaltime (c har * c);156 int sh_unix_uselocaltime (const char * c); 151 157 152 158 /* set I/O limit 153 159 */ 154 int sh_unix_set_io_limit (c har * c);160 int sh_unix_set_io_limit (const char * c); 155 161 void sh_unix_io_pause (); 156 162 … … 199 205 /* checksum of own binary 200 206 */ 201 int sh_unix_self_hash (c har * c);207 int sh_unix_self_hash (const char * c); 202 208 203 209 /* return BAD on failure … … 207 213 /* add a trusted user to the list 208 214 */ 209 int tf_add_trusted_user(c har *);215 int tf_add_trusted_user(const char *); 210 216 211 217 /* check a file … … 224 230 /* set the timeserver address 225 231 */ 226 int sh_unix_settimeserver (c har * address);232 int sh_unix_settimeserver (const char * address); 227 233 void reset_count_dev_time(void); 228 234
Note:
See TracChangeset
for help on using the changeset viewer.