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