Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/sh_unix.h

    r20 r27  
    9999extern  unsigned long mask_USER0;
    100100extern  unsigned long mask_USER1;
     101extern  unsigned long mask_USER2;
     102extern  unsigned long mask_USER3;
     103extern  unsigned long mask_USER4;
    101104/* like READONLY, but without MTM,CTM,SIZ,INO, abd with PREL)
    102105 */
     
    141144int sh_unix_munlock(void * addr, size_t len);
    142145int sh_unix_count_mlock();
     146/* public for unit tests */
     147int sh_unix_pagesize();
     148unsigned long sh_unix_lookup_page(void * in_addr, size_t len, int * num_pages);
    143149
    144150/* chroot directory
     
    148154/* whether to use localtime for file timesatams in logs
    149155 */
    150 int sh_unix_uselocaltime (char * c);
     156int sh_unix_uselocaltime (const char * c);
    151157
    152158/* set I/O limit
    153159 */
    154 int  sh_unix_set_io_limit (char * c);
     160int  sh_unix_set_io_limit (const char * c);
    155161void sh_unix_io_pause ();
    156162
     
    199205/* checksum of own binary
    200206 */
    201 int sh_unix_self_hash (char * c);
     207int sh_unix_self_hash (const char * c);
    202208
    203209/* return BAD on failure
     
    207213/* add a trusted user to the list
    208214 */
    209 int tf_add_trusted_user(char *);
     215int tf_add_trusted_user(const char *);
    210216
    211217/* check a file
     
    224230/* set the timeserver address
    225231 */
    226 int sh_unix_settimeserver (char * address);
     232int sh_unix_settimeserver (const char * address);
    227233void reset_count_dev_time(void);
    228234
Note: See TracChangeset for help on using the changeset viewer.