helper.h File Reference
#include "base/AsyncCall.h"
#include "base/InstanceId.h"
#include "cbdata.h"
#include "comm/forward.h"
#include "dlink.h"
#include "helper/ChildConfig.h"
#include "helper/forward.h"
#include "helper/Reply.h"
#include "helper/Request.h"
#include "ip/Address.h"
#include "sbuf/SBuf.h"
#include <list>
#include <map>
#include <queue>
Include dependency graph for helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  Helper::Xaction
 Holds the required data to serve a helper request. More...
class  helper
struct  helper::_stats
class  statefulhelper
class  HelperServerBase
struct  HelperServerBase::_helper_flags
class  helper_server
class  helper_stateful_server


 helper protocol primitives


void helperOpenServers (helper *hlp)
void helperStatefulOpenServers (statefulhelper *hlp)
void helperSubmit (helper *hlp, const char *buf, HLPCB *callback, void *data)
void helperStatefulSubmit (statefulhelper *hlp, const char *buf, HLPCB *callback, void *data, helper_stateful_server *lastserver)
 lastserver = "server last used as part of a reserved request sequence" More...
void helperShutdown (helper *hlp)
void helperStatefulShutdown (statefulhelper *hlp)
void helperStatefulReleaseServer (helper_stateful_server *srv)

Function Documentation

◆ helperOpenServers()

◆ helperShutdown()

◆ helperStatefulOpenServers()

◆ helperStatefulReleaseServer()

void helperStatefulReleaseServer ( helper_stateful_server srv)

DPW 2007-05-08

helperStatefulReleaseServer tells the helper that whoever was using it no longer needs its services.

Definition at line 539 of file

References debugs, HelperServerBase::flags, helperStatefulServerDone(), HERE(), HelperServerBase::index, HelperServerBase::releases, HelperServerBase::_helper_flags::reserved, and HelperServerBase::stats.

Referenced by helperStatefulDispatch(), and helperStatefulHandleRead().

◆ helperStatefulShutdown()

◆ helperStatefulSubmit()

void helperStatefulSubmit ( statefulhelper hlp,
const char *  buf,
HLPCB callback,
void *  data,
helper_stateful_server lastserver 

Definition at line 490 of file

References SubmissionFailure(), and statefulhelper::trySubmit().

Referenced by statefulhelper::~statefulhelper().

◆ helperSubmit()

void helperSubmit ( helper hlp,
const char *  buf,
HLPCB callback,
void *  data 

Definition at line 397 of file

References SubmissionFailure(), and helper::trySubmit().

Referenced by constructHelperQuery().






Web Site Translations