| ►NG | Low-level classes |
| ►NSlot | A typesafe callback library that isolates event sinks from event sources |
| CSignal0 | A signal class for zero-parameter callbacks |
| CSignal1 | A signal class for one-parameter callbacks |
| CSignal2 | A signal class for two-parameter callbacks |
| CSignal3 | A signal class for three-parameter callbacks |
| CSignal4 | A signal class for four-parameter callbacks |
| CSignalImp | A static helper class used by G::Slot signal classes |
| CSlot0 | A slot class for zero-parameter callbacks |
| CSlot1 | A slot class for one-parameter callbacks |
| CSlot2 | A slot class for two-parameter callbacks |
| CSlot3 | A slot class for three-parameter callbacks |
| CSlot4 | A slot class for four-parameter callbacks |
| CSlotCallback0 | Provides a function to down-cast from SlotImpBase to SlotImp0 |
| CSlotCallback1 | Provides a function to down-cast from SlotImpBase to SlotImp1 |
| CSlotCallback2 | Provides a function to down-cast from SlotImpBase to SlotImp2 |
| CSlotCallback3 | Provides a function to down-cast from SlotImpBase to SlotImp3 |
| CSlotCallback4 | Provides a function to down-cast from SlotImpBase to SlotImp3 |
| CSlotImp0 | A slot implementation class for zero-parameter callbacks |
| CSlotImp1 | A slot implementation class for one-parameter callbacks |
| CSlotImp2 | A slot implementation class for two-parameter callbacks |
| CSlotImp3 | A slot implementation class for three-parameter callbacks |
| CSlotImp4 | A slot implementation class for four-parameter callbacks |
| CSlotImpBase | Used as a base class to all slot implementation classes (such as G::Slot::SlotImp1), allowing them to be used as bodies to the associated slot reference-counting handle class (eg |
| CArg | A class which holds a represention of the argc/argv command line array, and supports simple command-line parsing |
| CBase64 | A base64 codec class |
| ►CBatchFile | A class for reading and writing windows-style startup batch files containing a single command-line, optionally using "start" |
| CNoThrow | Overload discriminator for G::BatchFile |
| CCleanup | A static interface for registering cleanup functions that are called when the process terminates abnormally |
| CCleanupImp | A pimple-pattern implementation class used by G::Cleanup |
| ►CConvert | A static class which provides string encoding conversion functions |
| CThrowOnError | Holds context information which convert() adds to the exception when it fails |
| Cutf8 | A string wrapper that indicates UTF-8 encoding |
| CConvertImp | A pimple-pattern implementation class for G::Convert |
| CDaemon | A static interface for daemonising the calling process |
| ►CDate | A date (dd/mm/yyyy) class |
| CLocalTime | An overload discriminator class for Date constructors |
| CDateTime | A low-level static class used by Date and Time |
| CDirectory | An encapsulation of a file system directory that allows for iterating through the set of contained files |
| CDirectoryIterator | A Directory iterator |
| CDirectoryIteratorImp | A pimple-pattern implementation class for DirectoryIterator using opendir()/readdir() |
| ►CDirectoryList | A Directory iterator with the same kind of interface as G::DirectoryIterator, but doing all file i/o in one go |
| CItem | A directory-entry item for G::DirectoryList |
| CEnvironment | A static class to wrap getenv() and putenv() |
| CEpochTime | A subsecond-resolution timestamp based on a time_t |
| CException | A general-purpose exception class derived from std::exception and containing a std::string |
| CExecutableCommand | A structure representing an external program, holding a path and a set of arguments |
| ►CFile | A simple static class for dealing with files |
| CNoThrow | An overload discriminator class for File methods |
| CGetOpt | A command line option parser |
| ►CHash | A class for creating HMACs using an arbitrary cryptographic hash function |
| CMasked | An overload discriminator for G::Hash::hmac() |
| CHashState | Helper functions for representing the state of a hash function as a non-printable string |
| CIdentity | A combination of user-id and group-id, with a very low-level interface to the get/set/e/uid/gid functions |
| CIdentityUser | A convenience class which, when used as a private base, can improve readability when calling Identity 'set' methods |
| Climits | A scoping structure for a set of buffer sizes |
| ►CLog | A class for doing iostream-based logging |
| CLine | A class for adding line number information to the Log output |
| CLogOutput | Controls and implements low-level logging output, as used by the Log interface |
| CMapFile | A class for reading and editing key=value files, supporting comments, creation of backup files, variable expansion and logging |
| ►CMd5 | MD5 message digest class |
| Cdigest_state | Holds the four parts of the md5 state |
| Cdigest_stream_state | Holds the md5 state plus unprocessed residual data |
| CMsg | Wrappers for sendmsg() and recvmsg() that are near drop-in replacements for send()/sendto() and recv()/recvto(), but with SIGPIPE disabled and optional file-descriptor-passing capabilities |
| CNewProcess | A class for creating new processes |
| CNewProcessImp | A pimple-pattern implementation class used by G::NewProcess |
| CNewProcessWaitFuture | A class that holds the parameters and the results of a waitpid() system call |
| Cnoncopyable | A noncopyable base class (a la boost) |
| COptionMap | A multimap-like container for command-line options and their values |
| COptionParser | A parser for command-line arguments that operates according to an Options specification and returns an OptionValue multimap |
| COptions | A class to represent allowed command-line options and to provide command-line usage text |
| COptionsLayout | Describes the layout for G::Options output |
| COptionsLevel | Used by G::Options for extra type safety |
| COptionValue | A simple structure encapsulating the value of a command-line option |
| ►CPam | A thin interface to the system PAM library, with two pure virtual methods that derived classes should implement: the converse() method supplies passwords etc |
| CItem | A structure used by G::Pam to hold conversation items |
| CPamError | An exception class used by G::Pam |
| CPamImp | A pimple-pattern implementation class for G::Pam |
| CPath | A Path object represents a file system path |
| CPathImp | A private implementation class used by G::Path providing a set of static methods |
| CPidFile | A class for creating pid files |
| CPipe | A private implementation class used by G::NewProcess that wraps a unix pipe |
| ►CProcess | A static interface for doing things with processes |
| CIdImp | A private implementation class used by G::Process that wraps a process id and hides the pid_t type |
| CReadWrite | An abstract interface for reading and writing from a non-blocking i/o channel |
| CRoot | A class which acquires the process's special privileges on construction and releases them on destruction |
| CSignalSafe | An empty structure that is used to indicate a signal-safe, reentrant implementation |
| CStateMachine | A finite state machine class template |
| ►CStr | A static class which provides string helper functions |
| CLimited | Overload discrimiator for G::Str::toUWhatever() |
| CStringMapReader | An adaptor for reading a const map<string,string> with at(key) |
| CTest | A static interface for enabling test features at run-time |
| Cthreading | Helper class for std::thread capabilities |
| ►CTime | A simple time-of-day (hh/mm/ss) class |
| CLocalTime | An overload discriminator class for Time constructors |
| CXtext | An xtext codec class, encoding space as "+20" etc |
| ►NGAuth | SASL authentication classes |
| CCram | Implements the standard challenge-response authentication mechanism of RFC-2195 |
| CPamImp | A private implementation of the G::Pam interface used by GAuth::SaslServerPamImp, which is itself a private implementation class used by GAuth::SaslServerPam |
| ►CSaslClient | A class that implements the client-side SASL challenge/response concept |
| CResponse | Result structure returned from GAuth::SaslClient::response |
| CSaslClientImp | A private pimple-pattern implementation class used by GAuth::SaslClient |
| CSaslClientSecrets | An interface used by GAuth::SaslClient to obtain a client id and its authentication secret |
| CSaslServer | An interface for implementing the server-side SASL challenge/response concept |
| CSaslServerBasic | An implementation of the SaslServer interface that does not use pluggable modules |
| CSaslServerBasicImp | A private pimple-pattern implementation class used by GAuth::SaslServerBasic |
| CSaslServerFactory | Provides a factory function for SaslServer instances |
| CSaslServerPam | An implementation of the SaslServer interface using PAM as the authentication mechanism |
| CSaslServerPamImp | A private implementation class used by GAuth::SaslServerPam |
| CSaslServerSecrets | An interface used by GAuth::SaslServer to obtain authentication secrets |
| CSecret | Encapsulates a shared secret from the secrets file plus the associated userid |
| CSecrets | A simple interface for a store of secrets used in authentication |
| CSecretsFile | A class to read authentication secrets from file, used by GAuth::Secrets |
| CValid | A trivial mix-in interface containing a valid() method |
| ►NGNet | Network classes |
| CAcceptPair | A class which is used to return a new()ed socket to calling code, together with associated address information |
| ►CAddress | The GNet::Address class encapsulates a TCP/UDP transport address |
| CFamily | A type-safe enumerator for IP address family |
| ►CAddress4 | A 'sockaddr' wrapper class for IPv4 addresses |
| Cunion_type | Used by GNet::Address4 to cast between sockaddr and sockaddr_in |
| ►CAddress6 | A 'sockaddr' wrapper class for IPv6 addresses |
| Cunion_type | Used by GNet::Address6 to cast between sockaddr and sockaddr_in6 |
| CAddressStorage | A helper class for calling accept(), getsockname() and getpeername() and hiding the definition of sockaddr_storage |
| CAddressStorageImp | A pimple-pattern implementation class used by GNet::AddressStorage |
| CBufferedServerPeer | A ServerPeer that does line-buffering on input |
| CClient | A HeapClient class that adds slot/signal signalling, connection/response timeouts, and input line buffering |
| CClientPtr | A smart pointer class for GNet::HeapClient that keeps track of when the contained instance deletes itself |
| CConnection | An abstract interface which provides address information for a network connection |
| CDatagramSocket | A derivation of GNet::Socket for a datagram socket |
| CDescriptor | A class that encapsulates a network socket file descriptor and an associated windows event handle |
| CEventHandler | A base class for classes that handle asynchronous events from the event loop |
| ►CEventHandlerList | A class that maps from a file descriptor to an event handler, used in the implemention of classes derived from GNet::EventLoop |
| CIterator | An iterator for GNet::EventHandlerList |
| CLock | A raii class to lock and unlock GNet::EventHandlerList |
| CValue | A tuple for GNet::EventHandlerList |
| ►CEventLoop | An abstract base class for a singleton that keeps track of open sockets and their associated handlers |
| CRunning | RAII class that sets a boolean, for implementations of run()/running() |
| CEventLoopImp | A concrete implementation of GNet::EventLoop using select() in its implementation |
| CExceptionHandler | An abstract interface for handling exceptions thrown out of event-loop callbacks (socket events, future events and timer events) |
| CFdSet | An "fd_set" wrapper class used by GNet::EventLoopImp |
| CFutureEvent | An object that hooks into the event loop and calls back to the client code |
| CFutureEventHandler | A callback interface for GNet::FutureEvent |
| CFutureEventImp | A pimple-pattern implementation class used by GNet::FutureEvent |
| CHeapClient | A SimpleClient class for client objects that manage their own lifetime on the heap |
| CLineBuffer | A class that does line buffering, supporting auto-detection of line endings and fixed-size extraction |
| CLineBufferConfig | A configuration structure for GNet::LineBuffer |
| CLineBufferIterator | Syntactic sugar for calling GNet::LineBuffer iteration methods |
| CLocal | A static class for getting information about the local machine's network name and address |
| CLocation | A class that holds a host/service name pair and the preferred address family (if any), and also the results of a name-to-address lookup, ie |
| CMonitor | A singleton for monitoring GNet::SimpleClient and GNet::ServerPeer connections and for storing their TLS certificates |
| CMonitorImp | A pimple-pattern implementation class for GNet::Monitor |
| ►CMultiServer | A server that listens on more than one interface using a facade pattern to multiple GNet::Server instances |
| CServerInfo | A structure used in GNet::MultiServer::newPeer() |
| CMultiServerImp | A private implementation class used by GNet::MultiServer |
| CMultiServerPtr | A private implementation class used by GNet::MultiServer |
| ►CResolver | A class for synchronous or asynchronous network name to address resolution |
| CCallback | An interface used for GNet::Resolver callbacks |
| CResolverFuture | A 'future' object for asynchronous name resolution, in practice holding just enough state for a single call to getaddrinfo() |
| CResolverImp | A private "pimple" implementation class used by GNet::Resolver to do asynchronous name resolution |
| ►CServer | A network server class which listens on a specific port and spins off ServerPeer objects for each incoming connection |
| CPeerInfo | A structure used in GNet::Server::newPeer() |
| CServerPeer | An abstract base class for the GNet::Server's connection to a remote client |
| CServerPeerHandle | A structure used in the implementation of GNet::Server |
| CSimpleClient | A class for making an outgoing connection to a remote server, with support for socket-level protocols such as TLS/SSL and SOCKS 4a |
| ►CSocket | A network socket base class, holding a non-blocking socket file descriptor |
| CAccepted | Overload discriminator class for GNet::Socket |
| CNoThrow | Overload discriminator class for GNet::Socket |
| CSocketProtocol | An interface for implementing a low-level TLS/SSL protocol layer on top of a connected non-blocking socket |
| ►CSocketProtocolImp | A pimple-pattern implementation class used by GNet::SocketProtocol |
| CPosition | A pointer into the scatter/gather payload of GNet::SocketProtocolImp::send() |
| CSocketProtocolSink | An interface used by GNet::SocketProtocol to deliver data from a socket |
| CSocks | Implements the socks4a proxy connection protocol |
| ►CStreamSocket | A derivation of GNet::Socket for a stream socket |
| CListener | Overload discriminator class for GNet::StreamSocket |
| CTask | A class for running an exectuable in a separate process with an asychronous completion callback |
| CTaskCallback | An abstract interface for callbacks from GNet::Task |
| CTaskImp | A private implementation class used by GNet::Task |
| CTimer | A timer class template in which the timeout is delivered to the specified method |
| CTimerBase | An interface used by GNet::TimerList to keep track of pending timeouts and to deliver timeout events |
| ►CTimerList | A singleton which maintains a list of all Timer objects, and interfaces to the event loop on their behalf |
| CNoThrow | Overload discriminator class for TimerList |
| ►NGPop | POP3 classes |
| CAuth | An authenticator interface for POP3 sessions that is a very thin veneer over GSmtp::SaslServer |
| CAuthImp | A private pimple-pattern implementation class used by GPop::Auth |
| CDirectoryReader | A trivial class which is used like G::Root by GPop::Store for reading directory listings |
| CFileDeleter | A trivial specialisation of G::Root used by GPop::Store for deleting files |
| CFileReader | A trivial class which is used like G::Root by GPop::Store for reading files |
| CSecrets | A simple interface to a store of secrets as used in authentication |
| CSecretsImp | A private pimple-pattern implementation class used by GPop::Secrets |
| ►CServer | A POP server class |
| CConfig | A structure containing GPop::Server configuration parameters |
| CServerPeer | Represents a connection from a POP client |
| ►CServerProtocol | Implements the POP server-side protocol |
| CConfig | A structure containing configuration parameters for ServerProtocol. NOT USED |
| CSecurity | An interface used by ServerProtocol to enable TLS |
| CSender | An interface used by ServerProtocol to send protocol replies |
| CText | An interface used by ServerProtocol to provide response text strings |
| CServerProtocolText | A default implementation for the ServerProtocol::Text interface |
| CStore | A message store |
| CStoreLock | Represents an exclusive lock on the message store |
| CStoreLockEntry | Represents a file in the GPop::Store |
| ►NGSmtp | SMTP and message-store classes |
| CAdminServer | A server class which implements the emailrelay administration interface |
| CAdminServerPeer | A derivation of ServerPeer for the administration interface |
| ►CClient | A class which acts as an SMTP client, extracting messages from a message store and forwarding them to a remote SMTP server |
| CConfig | A structure containing GSmtp::Client configuration parameters |
| ►CClientProtocol | Implements the client-side SMTP protocol |
| CConfig | A structure containing GSmtp::ClientProtocol configuration parameters |
| CSender | An interface used by ClientProtocol to send protocol messages |
| CClientProtocolReply | A private implementation class used by ClientProtocol |
| CDirectoryReader | Used by GSmtp::FileStore, GSmtp::NewFile and GSmtp::StoredFile to claim read permissions for reading a directory |
| CExecutableFilter | A Filter class that runs an external helper program |
| CExecutableVerifier | A Verifier that runs an executable |
| ►CFactoryParser | A simple class to parse identifiers that can be a program in the file system or a network address |
| CResult | Result tuple for GSmtp::FactoryParser::parse() |
| CFileIterator | A 'body' class for the MessageStore::Iterator 'handle' |
| CFileReader | Used by GSmtp::FileStore, GSmtp::NewFile and GSmtp::StoredFile to claim read permissions for reading a file |
| CFileStore | A concrete implementation of the MessageStore interface dealing in paired flat files |
| CFileWriter | Used by GSmtp::FileStore, GSmtp::NewFile and GSmtp::StoredFile to claim write permissions |
| ►CFilter | An interface for processing a message file through a filter |
| CExit | Interprets an executable filter's exit code |
| CFilterFactory | A factory for message processors |
| CInternalVerifier | The standard internal Verifier that accepts all mailbox names |
| ►CMessageStore | A class which allows SMTP messages to be stored and retrieved |
| CIterator | An iterator class for GSmtp::MessageStore |
| CIteratorImp | A base class for MessageStore::Iterator implementations |
| CNetworkFilter | A Filter class that passes the name of a message file to a remote process over the network |
| CNetworkVerifier | A Verifier that talks to a remote verifier over the network |
| CNewFile | A concrete derived class implementing the NewMessage interface |
| CNewMessage | An abstract class to allow the creation of a new message in the message store |
| CNullFilter | A Filter class that does nothing |
| CProtocolMessage | An interface used by the ServerProtocol class to assemble and process an incoming message |
| CProtocolMessageForward | A concrete implementation of the ProtocolMessage interface that stores incoming messages in the message store and then immediately forwards them on to the downstream server |
| CProtocolMessageStore | A concrete implementation of the ProtocolMessage interface that stores incoming messages in the message store |
| CRequestClient | A network client class that interacts with a remote server using a stateless line-based request/response protocol |
| ►CServer | An SMTP server class |
| CConfig | A structure containing GSmtp::Server configuration parameters |
| CServerPeer | Handles a connection from a remote SMTP client |
| ►CServerProtocol | Implements the SMTP server-side protocol |
| CConfig | A structure containing configuration parameters for ServerProtocol |
| CSender | An interface used by ServerProtocol to send protocol replies |
| CText | An interface used by ServerProtocol to provide response text strings |
| CServerProtocolText | A default implementation for the ServerProtocol::Text interface |
| CSpamClient | A client class that interacts with a remote process using a protocol somewhat similar to the spamassassin spamc/spamd protocol |
| CSpamFilter | A Filter class that passes the body of a message file to a remote process over the network and optionally stores the response back into the file |
| CStoredFile | A concete derived class implementing the StoredMessage interface |
| CStoredMessage | An abstract interface for messages which have come from the store |
| CVerifier | An asynchronous interface that verifies recipient 'to' addresses |
| CVerifierFactory | A factory for addresss verifiers |
| CVerifierStatus | A structure returned by GSmtp::Verifier to describe the status of a 'rcpt-to' recipient |
| ►NGSsl | TLS/SSL transport layer security classes |
| ►NMbedTls | |
| CCertificate | Holds a mbedtls_x509_crt structure |
| CConfig | Holds protocol version information, etc |
| CContext | Holds a mbedtls_ssl_context structure |
| CDigesterImp | An implementation of the GSsl::DigesterImpBase interface for MbedTls |
| CError | An exception class for GSsl::MbedTls classes |
| CKey | Holds a mbedtls_pk_context structure |
| CLibraryImp | An implementation of the GSsl::LibraryImpBase interface for mbedtls |
| CProfileImp | An implementation of the GSsl::Profile interface for mbedtls |
| CProtocolImp | An implementation of the GSsl::ProtocolImpBase interface for mbedtls |
| CRng | Holds a mbedtls_ctr_drbg_context structure |
| CSecureFile | An interface for reading a sensitive file and then overwriting its contents in memory |
| ►NOpenSSL | |
| CCertificate | Holds a certificate taken from an OpenSSL X509 structure |
| CCertificateChain | Holds a certificate chain taken from a stack of OpenSSL X509 structures |
| CConfig | Holds protocol version information, etc |
| CDigesterImp | An implementation of the GSsl::DigesterImpBase interface for OpenSSL |
| CError | An exception class for GSsl::OpenSSL classes |
| CLibraryImp | An implementation of the GSsl::LibraryImpBase interface for OpenSSL |
| CProfileImp | An implementation of the GSsl::Profile interface for OpenSSL |
| CProtocolImp | An implementation of the GSsl::ProtocolImpBase interface for OpenSSL |
| CDigester | Returns an object that can perform a cryptographic hash |
| CDigesterImpBase | A base interface for GSsl::Digester pimple classes |
| CLibrary | A singleton class for initialising the underlying TLS library |
| CLibraryImpBase | A base interface for GSsl::Library pimple classes |
| CProfile | A base interface for profile classes that work with concrete classes derived from GSsl::LibraryImpBase and GSsl::ProtocolImpBase |
| CProtocol | A TLS protocol class |
| CProtocolImpBase | A base interface for GSsl::Protocol pimple classes |
| ►Nmd5 | |
| Cblock | A helper class used by the md5::digest implementation to represent a 64-character data block |
| Cdigest | A class that calculates an md5 digest from one or more 64-byte blocks of data using the algorithm described by RFC-1321 |
| Cformat | A thin veneer over G::HashState |