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
496
#define CODEqueryEtryPt_doHUP \
497
else if(!strcmp((char*) name, "doHUP")) {\
498
*pEtryPoint = doHUP;\
501
static rsRetVal doHUP(instanceData __attribute__((unused)) *pData)\
505
#define CODESTARTdoHUP