#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/socket.h>
#include "services.h"
#include "options.h"
#include "sipc.h"
#include "nickserv.h"
#include "chanserv.h"
#include "hash/md5.h"
#include "hash/md5pw.h"
#include "log.h"
Go to the source code of this file.
Classes | |
| struct | ssUInfo |
| An IPC system login. More... | |
Defines | |
| #define | ORNL(q) (((size_t) &((RegNickList *)0)->q)) |
Functions | |
| int | NickGetEnc (RegNickList *) |
| Get a registered nick encryption prefix. | |
| int | ChanGetEnc (RegChanList *) |
| Get the encryption status of a registered channel object. | |
| const char * | GetAuthChKey (const char *, const char *, time_t, u_int32_t) |
| const char * | PrintPass (u_char pI[], char enc) |
| Print a password appropriately encoded according to its encryption type (if applicable). | |
| const ssUInfo * | getServicesSysUser (const char *username) |
| int | queryRnickString (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | queryRnickStringFixed (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | queryRnickFlag (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | queryRnickLong (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | queryRnickUint (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | queryRnickUchar (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | queryRnickTime (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | alterRnickStringD (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | alterRnickStringFixed (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | alterRnickEmail (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | alterRnickFlag (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | alterRnickLong (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | alterRnickUint (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | alterRnickUchar (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | alterRnickTime (RegNickList *rnl, IpcConnectType *p, parse_t *pb, int x) |
| int | doNonBlock (int listenDesc) |
| Make a connection endpoint non-blocking. | |
| int | isQlined (const char *nick) |
| Is nick ``qlined''? | |
Variables | |
| FILE * | corelog |
| Logfile to record system errors/debug information. | |
| int | ipcPort = 0 |
| Port number for services IPC server to listen on. | |
| RegId | top_regnick_idnum |
| struct { | |
| const char * field | |
| int(* func )(RegNickList *, IpcConnectType *p, parse_t *pb, int x) | |
| size_t off | |
| flag_t priv | |
| flag_t a_priv | |
| int(* a_func )(RegNickList *, IpcConnectType *p, parse_t *pb, int x) | |
| } | rnickQueryTable [] |
Procedures for talking with other software
Definition in file sipc.cc.
|
|
Get the encryption status of a registered channel object.
Definition at line 861 of file chanserv.c. References CENCRYPT. Referenced by IpcType::alterObjMessage(), and IpcType::authObjMessage(). |
|
|
Make a connection endpoint non-blocking.
Definition at line 557 of file sipc.cc. Referenced by IpcType::pollAndHandle(), and IpcType::start(). |
|
||||||||||||||||||||
|
Definition at line 298 of file passwd.c. Referenced by IpcType::authObjMessage(). |
|
|
Get a registered nick encryption prefix.
Definition at line 400 of file nickserv.c. References NENCRYPT. |
|
||||||||||||
|
Print a password appropriately encoded according to its encryption type (if applicable).
Definition at line 440 of file passwd.c. References toBase64(). Referenced by IpcType::authObjMessage(). |