support.h File Reference
#include <cstring>
Include dependency graph for support.h:

Go to the source code of this file.

Classes

struct  gdstruct
 
struct  ndstruct
 
struct  lsstruct
 
struct  main_args
 
struct  hstruct
 
struct  ldap_creds
 

Macros

#define KERBEROS_LDAP_GROUP_VERSION   "1.4.0sq"
 
#define KERBEROS_APPLE_DEPRECATED(x)
 
#define LDAP_DEPRECATED   1
 
#define PROGRAM   "kerberos_ldap_group"
 

Functions

void log (char *format,...)
 
void error (char *format,...)
 
void warn (char *format,...)
 
void init_args (struct main_args *margs)
 
void clean_args (struct main_args *margs)
 
const char * LogTime (void)
 
int check_memberof (struct main_args *margs, char *user, char *domain)
 
int get_memberof (struct main_args *margs, char *user, char *domain, char *group)
 
char * get_netbios_name (struct main_args *margs, char *netbios)
 
int create_gd (struct main_args *margs)
 
int create_nd (struct main_args *margs)
 
int create_ls (struct main_args *margs)
 
size_t get_ldap_hostname_list (struct main_args *margs, struct hstruct **hlist, size_t nhosts, char *domain)
 
size_t get_hostname_list (struct hstruct **hlist, size_t nhosts, char *name)
 
size_t free_hostname_list (struct hstruct **hlist, size_t nhosts)
 

Variables

SQUIDCEXTERN int log_enabled
 

Macro Definition Documentation

◆ KERBEROS_APPLE_DEPRECATED

#define KERBEROS_APPLE_DEPRECATED (   x)

Definition at line 38 of file support.h.

◆ KERBEROS_LDAP_GROUP_VERSION

#define KERBEROS_LDAP_GROUP_VERSION   "1.4.0sq"

Definition at line 33 of file support.h.

◆ LDAP_DEPRECATED

#define LDAP_DEPRECATED   1

Definition at line 64 of file support.h.

◆ PROGRAM

#define PROGRAM   "kerberos_ldap_group"

Definition at line 189 of file support.h.

Function Documentation

◆ check_memberof()

int check_memberof ( struct main_args margs,
char *  user,
char *  domain 
)

◆ clean_args()

void clean_args ( struct main_args margs)

◆ create_gd()

int create_gd ( struct main_args margs)

◆ create_ls()

int create_ls ( struct main_args margs)

◆ create_nd()

int create_nd ( struct main_args margs)

◆ error()

void error ( char *  format,
  ... 
)

Referenced by ConnStateData::abortChunkedRequestBody(), Snmp::Inquirer::aggregate(), Security::PeerConnector::bail(), Http::Tunneler::bailOnResponseError(), Http::Tunneler::bailWith(), store_client::callback(), ClientHttpRequest::calloutsError(), Ssl::chainCertificatesToSSLContext(), Adaptation::Icap::Options::configure(), FwdState::connectedToPeer(), HttpStateData::continueAfterParsingHeader(), Security::ServerOptions::createStaticServerContext(), Ftp::Relay::failed(), Ftp::Client::failed(), Ftp::Relay::failedErrorMessage(), Ftp::Gateway::failedHttpStatus(), Ftp::Client::failedHttpStatus(), Adaptation::ServiceGroup::finalizeMsg(), Ftp::Relay::forwardError(), IpCacheLookupForwarder::forwardLookup(), Adaptation::Ecap::ServiceRep::handleFinalizeFailure(), ConnStateData::handleIdleClientPinnedTlsRead(), Http::Tunneler::handleReadyRead(), ConnStateData::handleRequestBodyData(), Http::Tunneler::handleWrittenRequest(), httpHeaderNoteParsedEntry(), idnsCallback(), idnsCallbackOnEarlyError(), main(), FwdState::noteConnection(), TunnelStateData::noteConnection(), Ssl::PeekingPeerConnector::noteNegotiationDone(), Security::BlindPeerConnector::noteNegotiationDone(), Ssl::IcapPeerConnector::noteNegotiationDone(), TunnelStateData::noteSecurityPeerConnectorAnswer(), Adaptation::Ecap::HeaderRep::parse(), Http::Message::parse(), Adaptation::Icap::TrailerParser::parse(), Adaptation::Icap::Xaction::parseHttpMsg(), Adaptation::Icap::ModXact::parsePart(), Ssl::CrtdMessage::parseRequest(), Adaptation::Icap::ModXact::prepEchoing(), processNewRequest(), ConnStateData::requestTimeout(), HttpReply::sanityCheckStartLine(), HttpRequest::sanityCheckStartLine(), TunnelStateData::saveError(), Snmp::Forwarder::sendError(), Mgr::Forwarder::sendError(), squid_rn_walktree(), sslCrtvdHandleReplyWrapper(), ConnStateData::stopReceiving(), ConnStateData::stopSending(), strwordtok(), File::sysCallFailure(), testHttpReply::testSanityCheckFirstLine(), testHttpRequest::testSanityCheckStartLine(), FwdState::tunnelEstablishmentDone(), TunnelStateData::tunnelEstablishmentDone(), Mmapping::unmap(), TunnelStateData::usePinned(), Adaptation::Icap::Options::valid(), xgetnameinfo(), and xstrerr().

◆ free_hostname_list()

size_t free_hostname_list ( struct hstruct **  hlist,
size_t  nhosts 
)

◆ get_hostname_list()

size_t get_hostname_list ( struct hstruct **  hlist,
size_t  nhosts,
char *  name 
)

◆ get_ldap_hostname_list()

size_t get_ldap_hostname_list ( struct main_args margs,
struct hstruct **  hlist,
size_t  nhosts,
char *  domain 
)

◆ get_memberof()

int get_memberof ( struct main_args margs,
char *  user,
char *  domain,
char *  group 
)

◆ get_netbios_name()

char* get_netbios_name ( struct main_args margs,
char *  netbios 
)

◆ init_args()

void init_args ( struct main_args margs)

◆ log()

◆ LogTime()

const char* LogTime ( void  )
inline

Definition at line 122 of file negotiate_kerberos.h.

References buf, now, and NULL.

◆ warn()

void warn ( char *  format,
  ... 
)

Referenced by redirectHandleReply().

Variable Documentation

◆ log_enabled

SQUIDCEXTERN int log_enabled

Definition at line 116 of file support.h.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors