Changes in trunk/include/sh_error.h [27:20]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/sh_error.h
r27 r20 30 30 SH_ERR_T_START = 0, 31 31 32 /* 1- 13= SH_LEVEL_XXX */32 /* 1-9 = SH_LEVEL_XXX */ 33 33 34 34 SH_ERR_T_RO = SH_LEVEL_READONLY, … … 40 40 SH_ERR_T_USER0 = SH_LEVEL_USER0, 41 41 SH_ERR_T_USER1 = SH_LEVEL_USER1, 42 SH_ERR_T_USER2 = SH_LEVEL_USER2,43 SH_ERR_T_USER3 = SH_LEVEL_USER3,44 SH_ERR_T_USER4 = SH_LEVEL_USER4,45 42 SH_ERR_T_PRELINK = SH_LEVEL_PRELINK, 46 43 47 SH_ERR_T_DIR = 1 3,48 SH_ERR_T_FILE = 1 4,49 SH_ERR_T_NAME = 1 5,44 SH_ERR_T_DIR = 10, 45 SH_ERR_T_FILE = 11, 46 SH_ERR_T_NAME = 12, 50 47 51 SH_ERR_T_END = 1 648 SH_ERR_T_END = 13 52 49 }; 53 50 … … 84 81 /* set mask for message class 85 82 */ 86 int sh_error_log_mask (c onst char * c);87 int sh_error_print_mask (c onst char * c);88 int sh_error_mail_mask (c onst char * c);89 int sh_error_export_mask (c onst char * c);90 int sh_error_syslog_mask (c onst char * c);91 int sh_error_external_mask (c onst char * c);92 int sh_error_database_mask (c onst char * c);93 int sh_error_prelude_mask (c onst char * c);83 int sh_error_log_mask (char * c); 84 int sh_error_print_mask (char * c); 85 int sh_error_mail_mask (char * c); 86 int sh_error_export_mask (char * c); 87 int sh_error_syslog_mask (char * c); 88 int sh_error_external_mask (char * c); 89 int sh_error_database_mask (char * c); 90 int sh_error_prelude_mask (char * c); 94 91 95 92 … … 102 99 #ifdef SH_WITH_SERVER 103 100 void sh_error_set_peer(const char * str); 104 int set_flag_sep_log (c onst char * str);101 int set_flag_sep_log (char * str); 105 102 #endif 106 103 … … 111 108 /* convert a string to a numeric priority 112 109 */ 113 int sh_error_convert_level (c onst char * str_s);110 int sh_error_convert_level (char * str_s); 114 111 115 112 /* only to stderr (GOOD/BAD) … … 119 116 /* set syslog facility 120 117 */ 121 int sh_log_set_facility (c onst char * c);118 int sh_log_set_facility (char * c); 122 119 123 120 /* define message header 124 121 */ 125 int sh_error_ehead (/*@null@*/c onst char * s);122 int sh_error_ehead (/*@null@*/char * s); 126 123 127 124 /* set level for error logging … … 131 128 /* set severity levels 132 129 */ 133 int sh_error_set_iv (int iv, c onst char * severity_s);130 int sh_error_set_iv (int iv, char * severity_s); 134 131 135 132 /* set priorities … … 181 178 /* (re)set the console device(s) 182 179 */ 183 int sh_log_set_console (c onst char * address);180 int sh_log_set_console (char * address); 184 181 void reset_count_dev_console(void); 185 182 … … 191 188 /* enable message queue 192 189 */ 193 int enable_msgq(c onst char * foo);190 int enable_msgq(char * foo); 194 191 #endif 195 192
Note:
See TracChangeset
for help on using the changeset viewer.