Changes in zephyr.c [c79a047:e440602]
Legend:
- Unmodified
- Added
- Removed
-
zephyr.c
rc79a047 re440602 15 15 } owl_sub_list; 16 16 17 Code_t ZResetAuthentication( void);17 Code_t ZResetAuthentication(); 18 18 #endif 19 19 … … 21 21 22 22 #ifdef HAVE_LIBZEPHYR 23 void owl_zephyr_initialize( void)23 void owl_zephyr_initialize() 24 24 { 25 25 int ret; … … 127 127 } 128 128 129 void owl_zephyr_load_initial_subs( void) {129 void owl_zephyr_load_initial_subs() { 130 130 int ret_sd, ret_bd, ret_u; 131 131 … … 154 154 } 155 155 #else 156 void owl_zephyr_initialize( void)157 { 158 } 159 #endif 160 161 162 int owl_zephyr_shutdown( void)156 void owl_zephyr_initialize() 157 { 158 } 159 #endif 160 161 162 int owl_zephyr_shutdown() 163 163 { 164 164 #ifdef HAVE_LIBZEPHYR … … 171 171 } 172 172 173 int owl_zephyr_zpending( void)173 int owl_zephyr_zpending() 174 174 { 175 175 #ifdef HAVE_LIBZEPHYR … … 183 183 } 184 184 185 const char *owl_zephyr_get_realm( void)185 const char *owl_zephyr_get_realm() 186 186 { 187 187 #ifdef HAVE_LIBZEPHYR … … 192 192 } 193 193 194 const char *owl_zephyr_get_sender( void)194 const char *owl_zephyr_get_sender() 195 195 { 196 196 #ifdef HAVE_LIBZEPHYR … … 316 316 * Return -2 if there is a failure from zephyr to load the subscriptions. 317 317 */ 318 int owl_zephyr_loadbarnowldefaultsubs( void)318 int owl_zephyr_loadbarnowldefaultsubs() 319 319 { 320 320 #ifdef HAVE_LIBZEPHYR … … 340 340 } 341 341 342 int owl_zephyr_loaddefaultsubs( void)342 int owl_zephyr_loaddefaultsubs() 343 343 { 344 344 #ifdef HAVE_LIBZEPHYR … … 415 415 } 416 416 417 void unsuball( void)417 void unsuball() 418 418 { 419 419 #if HAVE_LIBZEPHYR … … 993 993 #ifdef HAVE_LIBZEPHYR 994 994 char *line, *subsfile; 995 int linesdeleted;996 995 997 996 line=owl_zephyr_makesubline(class, inst, recip); … … 1004 1003 } 1005 1004 1006 linesdeleted = owl_util_file_deleteline(subsfile, line, 1); 1007 if (linesdeleted > 0) { 1008 owl_function_makemsg("Subscription removed"); 1009 } else { 1010 owl_function_error("No subscription present in %s", subsfile); 1011 } 1005 owl_util_file_deleteline(subsfile, line, 1); 1012 1006 owl_free(subsfile); 1013 1007 owl_free(line); 1008 owl_function_makemsg("Subscription removed"); 1014 1009 #endif 1015 1010 } … … 1124 1119 * free the return. 1125 1120 */ 1126 char *owl_zephyr_getsubs( void)1121 char *owl_zephyr_getsubs() 1127 1122 { 1128 1123 #ifdef HAVE_LIBZEPHYR
Note: See TracChangeset
for help on using the changeset viewer.