~ubuntu-branches/ubuntu/lucid/rsyslog/lucid-updates

« back to all changes in this revision

Viewing changes to runtime/module-template.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2009-06-23 12:12:43 UTC
  • mfrom: (1.1.11 upstream) (3.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20090623121243-d2fejarzidywnn17
Tags: 4.2.0-1
* New upstream release of the now stable v4 branch.
  - Fix warnings when /etc/rsyslog.d/ is empty. Closes: #530228
* debian/patches/imudp_multiple_udp_sockets.patch
  - Removed, merged upstream.
* debian/rsyslog.default
  - Set default compat mode to '4'.
* debian/rsyslog.logcheck.ignore.server
  - Update logcheck rules files to also ignore rsyslogd and imklog stop
    messages.
* debian/control
  - Bump Standards-Version to 3.8.2. No further changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
481
481
}
482
482
 
483
483
 
484
 
/*
485
 
 * vi:set ai:
 
484
/* doHUP()
 
485
 * This function is optional. Currently, it is available to output plugins
 
486
 * only, but may be made available to other types of plugins in the future.
 
487
 * A plugin does not need to define this entry point. If if does, it gets
 
488
 * called when a non-restart type of HUP is done. A plugin should register
 
489
 * this function so that it can close files, connection or other ressources
 
490
 * on HUP - if it can be assume the user wanted to do this as a part of HUP
 
491
 * processing. Note that the name "HUP" has historical reasons, it stems back
 
492
 * to the infamous SIGHUP which was sent to restart a syslogd. We still retain
 
493
 * that legacy, but may move this to a different signal.
 
494
 * rgerhards, 2008-10-22
 
495
 */
 
496
#define CODEqueryEtryPt_doHUP \
 
497
        else if(!strcmp((char*) name, "doHUP")) {\
 
498
                *pEtryPoint = doHUP;\
 
499
        }
 
500
#define BEGINdoHUP \
 
501
static rsRetVal doHUP(instanceData __attribute__((unused)) *pData)\
 
502
{\
 
503
        DEFiRet;
 
504
 
 
505
#define CODESTARTdoHUP 
 
506
 
 
507
#define ENDdoHUP \
 
508
        RETiRet;\
 
509
}
 
510
 
 
511
 
 
512
/* vim:set ai:
486
513
 */