Ignore:
Timestamp:
Apr 30, 2008, 11:56:45 PM (16 years ago)
Author:
katerina
Message:

Plenty of compiler warnings fixed, SQL query length fixed, doc update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/sh_unix.h

    r169 r170  
    9393#define MODI_TXT ((1 << 14)|MODI_CHK)
    9494
     95#define MODI_TXT_ENABLED(a) (((a)&(1 << 14))!=0)
     96
    9597#define SH_TXT_MAX 9200
    9698
     
    156158/* mlock utilities
    157159 */
    158 int sh_unix_mlock(char * file, int line, void * addr, size_t len);
     160int sh_unix_mlock(const char * file, int line, void * addr, size_t len);
    159161int sh_unix_munlock(void * addr, size_t len);
    160 int sh_unix_count_mlock();
     162int sh_unix_count_mlock(void);
    161163/* public for unit tests */
    162 int sh_unix_pagesize();
     164int sh_unix_pagesize(void);
    163165unsigned long sh_unix_lookup_page(void * in_addr, size_t len, int * num_pages);
    164166
     
    183185 */
    184186int  sh_unix_set_io_limit (const char * c);
    185 void sh_unix_io_pause ();
     187void sh_unix_io_pause (void);
    186188
    187189/* get file type
     
    191193/* reset masks for policies
    192194 */
    193 int sh_unix_maskreset();
     195int sh_unix_maskreset(void);
    194196
    195197/* return true if database is remote
    196198 */
    197 int file_is_remote ();
     199int file_is_remote (void);
    198200
    199201/* return the path to the configuration/database file
     
    220222/* write the PID file
    221223 */
    222 int sh_unix_write_pid_file();
     224int sh_unix_write_pid_file(void);
    223225
    224226/* rm the PID file
    225227 */
    226 int sh_unix_rm_pid_file();
     228int sh_unix_rm_pid_file(void);
    227229
    228230
Note: See TracChangeset for help on using the changeset viewer.