Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/sh_forward.h

    r27 r20  
    3232/* set time limit
    3333 */
    34 int sh_forward_set_time_limit(const char * str);
     34int sh_forward_set_time_limit(char * str);
    3535
    3636/* error level for lookup failure
    3737 */
    38 int sh_forward_lookup_level (const char * c);
     38int sh_forward_lookup_level (char * c);
    3939
    4040/* create client entry for given password
     
    4242int sh_forward_make_client (const char * str);
    4343
    44 /* set port to which we connect
    45  */
    46 int sh_forward_server_port (const char * str);
    47 
    4844#ifdef SH_WITH_SERVER
    4945
    5046#ifdef INET_SYSLOG
    51 int set_syslog_active(const char * c);
     47int set_syslog_active(char * c);
    5248#endif
    5349
     
    5955 * and set by accept()
    6056 */
    61 int set_socket_peer (const char * c);
     57int set_socket_peer (char * c);
    6258
    6359/* whether to use client severity
    6460 */
    65 int sh_forward_use_clt_sev (const char * c);
     61int sh_forward_use_clt_sev (char * c);
    6662
    6763/* whether to use client class
    6864 */
    69 int sh_forward_use_clt_class (const char * c);
     65int sh_forward_use_clt_class (char * c);
    7066
    7167/* server port
    7268 */
    73 int sh_forward_set_port(const char * c);
     69int sh_forward_set_port(char * c);
    7470
    7571/* server interface
    7672 */
    77 int sh_forward_set_interface(const char * c);
     73int sh_forward_set_interface(char * c);
    7874
    7975/* a wrapper function
     
    8379/* register a client
    8480 */
    85 int sh_forward_register_client (const char * str);
     81int sh_forward_register_client (char * str);
    8682
    8783/* start server
     
    9591#endif
    9692
    97 #if defined(SH_WITH_CLIENT) || defined(SH_WITH_SERVER)
     93#ifdef SH_WITH_CLIENT
    9894/* talk to server
    9995 */
    10096long  sh_forward (char * errmsg);
    10197
    102 /* set log server
    103  */
    104 int sh_forward_setlogserver (const char * address);
    105 void reset_count_dev_server(void);
    106 #endif
    107 
    108 #ifdef SH_WITH_CLIENT
    10998
    11099/* request file from server. file may be "CONF" or "DATA".
     
    112101long sh_forward_req_file (char * file);
    113102
     103/* set log server
     104 */
     105int sh_forward_setlogserver (char * address);
     106void reset_count_dev_server(void);
     107
    114108#endif
    115109
Note: See TracChangeset for help on using the changeset viewer.