Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    rc79a047 re440602  
    1515} owl_sub_list;
    1616
    17 Code_t ZResetAuthentication(void);
     17Code_t ZResetAuthentication();
    1818#endif
    1919
     
    2121
    2222#ifdef HAVE_LIBZEPHYR
    23 void owl_zephyr_initialize(void)
     23void owl_zephyr_initialize()
    2424{
    2525  int ret;
     
    127127}
    128128
    129 void owl_zephyr_load_initial_subs(void) {
     129void owl_zephyr_load_initial_subs() {
    130130  int ret_sd, ret_bd, ret_u;
    131131
     
    154154}
    155155#else
    156 void owl_zephyr_initialize(void)
    157 {
    158 }
    159 #endif
    160 
    161 
    162 int owl_zephyr_shutdown(void)
     156void owl_zephyr_initialize()
     157{
     158}
     159#endif
     160
     161
     162int owl_zephyr_shutdown()
    163163{
    164164#ifdef HAVE_LIBZEPHYR
     
    171171}
    172172
    173 int owl_zephyr_zpending(void)
     173int owl_zephyr_zpending()
    174174{
    175175#ifdef HAVE_LIBZEPHYR
     
    183183}
    184184
    185 const char *owl_zephyr_get_realm(void)
     185const char *owl_zephyr_get_realm()
    186186{
    187187#ifdef HAVE_LIBZEPHYR
     
    192192}
    193193
    194 const char *owl_zephyr_get_sender(void)
     194const char *owl_zephyr_get_sender()
    195195{
    196196#ifdef HAVE_LIBZEPHYR
     
    316316 * Return -2 if there is a failure from zephyr to load the subscriptions.
    317317 */
    318 int owl_zephyr_loadbarnowldefaultsubs(void)
     318int owl_zephyr_loadbarnowldefaultsubs()
    319319{
    320320#ifdef HAVE_LIBZEPHYR
     
    340340}
    341341
    342 int owl_zephyr_loaddefaultsubs(void)
     342int owl_zephyr_loaddefaultsubs()
    343343{
    344344#ifdef HAVE_LIBZEPHYR
     
    415415}
    416416
    417 void unsuball(void)
     417void unsuball()
    418418{
    419419#if HAVE_LIBZEPHYR
     
    993993#ifdef HAVE_LIBZEPHYR
    994994  char *line, *subsfile;
    995   int linesdeleted;
    996995 
    997996  line=owl_zephyr_makesubline(class, inst, recip);
     
    10041003  }
    10051004 
    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);
    10121006  owl_free(subsfile);
    10131007  owl_free(line);
     1008  owl_function_makemsg("Subscription removed");
    10141009#endif
    10151010}
     
    11241119 * free the return.
    11251120 */
    1126 char *owl_zephyr_getsubs(void)
     1121char *owl_zephyr_getsubs()
    11271122{
    11281123#ifdef HAVE_LIBZEPHYR
Note: See TracChangeset for help on using the changeset viewer.