Riferimenti per il file send.c

#include "stdinc.h"
#include "tools.h"
#include "send.h"
#include "channel.h"
#include "client.h"
#include "common.h"
#include "dbuf.h"
#include "irc_string.h"
#include "ircd.h"
#include "handlers.h"
#include "numeric.h"
#include "fdlist.h"
#include "s_bsd.h"
#include "s_serv.h"
#include "sprintf_irc.h"
#include "s_conf.h"
#include "list.h"
#include "s_log.h"
#include "memory.h"
#include "hook.h"
#include "irc_getnameinfo.h"
#include "packet.h"

Vai al codice sorgente di questo file.

Definizioni

#define LOG_BUFSIZE   2048

Funzioni

static void send_message (struct Client *, char *, int)
static void send_message_remote (struct Client *, struct Client *, char *, int)
static int send_format (char *lsendbuf, int bufsize, const char *pattern, va_list args)
void * iosend_default (va_list args)
void sendq_unblocked (fde_t *fd, struct Client *client_p)
static void slinkq_unblocked (fde_t *fd, struct Client *client_p)
void send_queued_write (struct Client *to)
void send_queued_slink_write (struct Client *to)
void send_queued_all (void)
void sendto_one (struct Client *to, const char *pattern,...)
void sendto_channel_butone (struct Client *one, struct Client *from, struct Channel *chptr, const char *command, const char *pattern,...)
void sendto_server (struct Client *one, struct Client *source_p, struct Channel *chptr, unsigned long caps, unsigned long nocaps, unsigned long llflags, const char *format,...)
void sendto_common_channels_local (struct Client *user, int touser, const char *pattern,...)
void sendto_channel_local (int type, int nodeaf, struct Channel *chptr, const char *pattern,...)
void sendto_channel_local_butone (struct Client *one, int type, struct Channel *chptr, const char *pattern,...)
void sendto_channel_remote (struct Client *one, struct Client *from, int type, int caps, int nocaps, struct Channel *chptr, const char *pattern,...)
static int match_it (const struct Client *one, const char *mask, int what)
void sendto_match_butone (struct Client *one, struct Client *from, char *mask, int what, const char *pattern,...)
void sendto_match_servs (struct Client *source_p, const char *mask, int cap, const char *pattern,...)
void sendto_anywhere (struct Client *to, struct Client *from, const char *pattern,...)
void sendto_realops_flags (unsigned int flags, int level, const char *pattern,...)
void sendto_wallops_flags (unsigned int flags, struct Client *source_p, const char *pattern,...)
void ts_warn (const char *pattern,...)
void kill_client (struct Client *client_p, struct Client *diedie, const char *pattern,...)
void kill_client_ll_serv_butone (struct Client *one, struct Client *source_p, const char *pattern,...)

Variabili

struct Callbackiosend_cb = NULL
struct Callbackiosendctrl_cb = NULL
static unsigned long current_serial = 0L


Documentazione delle definizioni

#define LOG_BUFSIZE   2048

Definizione alla linea 48 del file send.c.


Documentazione delle funzioni

void* iosend_default ( va_list  args  ) 

Definizione alla linea 97 del file send.c.

Riferimenti buf, LocalUser::buf_sendq, dbuf_put(), Client::localClient, e to.

Referenziato da init_callbacks().

void kill_client ( struct Client client_p,
struct Client diedie,
const char *  pattern,
  ... 
)

Definizione alla linea 1152 del file send.c.

Riferimenti buffer, Client::from, ID_or_name, IRCD_BUFSIZE, ircsprintf(), IsDead, me, send_format(), e send_message().

void kill_client_ll_serv_butone ( struct Client one,
struct Client source_p,
const char *  pattern,
  ... 
)

static int match_it ( const struct Client one,
const char *  mask,
int  what 
) [static]

Definizione alla linea 847 del file send.c.

Riferimenti Client::host, match(), MATCH_HOST, Client::name, e Client::servptr.

Referenziato da sendto_match_butone().

static int send_format ( char *  lsendbuf,
int  bufsize,
const char *  pattern,
va_list  args 
) [inline, static]

static void send_message ( struct Client to,
char *  buf,
int  len 
) [static]

static void send_message_remote ( struct Client to,
struct Client from,
char *  buf,
int  len 
) [static]

void send_queued_all ( void   ) 

void send_queued_slink_write ( struct Client to  ) 

void send_queued_write ( struct Client to  ) 

void sendq_unblocked ( fde_t fd,
struct Client client_p 
)

Definizione alla linea 225 del file send.c.

Riferimenti ClearSendqBlocked, _fde::flags, _fde::pending_read, e read_packet.

Referenziato da read_packet(), e send_queued_write().

void sendto_anywhere ( struct Client to,
struct Client from,
const char *  pattern,
  ... 
)

void sendto_channel_butone ( struct Client one,
struct Client from,
struct Channel chptr,
const char *  command,
const char *  pattern,
  ... 
)

void sendto_channel_local ( int  type,
int  nodeaf,
struct Channel chptr,
const char *  pattern,
  ... 
)

void sendto_channel_local_butone ( struct Client one,
int  type,
struct Channel chptr,
const char *  pattern,
  ... 
)

void sendto_channel_remote ( struct Client one,
struct Client from,
int  type,
int  caps,
int  nocaps,
struct Channel chptr,
const char *  pattern,
  ... 
)

void sendto_common_channels_local ( struct Client user,
int  touser,
const char *  pattern,
  ... 
)

void sendto_match_butone ( struct Client one,
struct Client from,
char *  mask,
int  what,
const char *  pattern,
  ... 
)

void sendto_match_servs ( struct Client source_p,
const char *  mask,
int  cap,
const char *  pattern,
  ... 
)

void sendto_one ( struct Client to,
const char *  pattern,
  ... 
)

Definizione alla linea 438 del file send.c.

Riferimenti buffer, Client::from, IRCD_BUFSIZE, IsDead, send_format(), e send_message().

void sendto_realops_flags ( unsigned int  flags,
int  level,
const char *  pattern,
  ... 
)

void sendto_server ( struct Client one,
struct Client source_p,
struct Channel chptr,
unsigned long  caps,
unsigned long  nocaps,
unsigned long  llflags,
const char *  format,
  ... 
)

void sendto_wallops_flags ( unsigned int  flags,
struct Client source_p,
const char *  pattern,
  ... 
)

static void slinkq_unblocked ( fde_t fd,
struct Client client_p 
) [static]

Definizione alla linea 244 del file send.c.

Riferimenti ClearSlinkqBlocked, e send_queued_slink_write().

Referenziato da send_queued_slink_write().

void ts_warn ( const char *  pattern,
  ... 
)

Definizione alla linea 1110 del file send.c.

Riferimenti buffer, CurrentTime, ilog(), L_ALL, L_CRIT, LOG_BUFSIZE, sendto_realops_flags(), UMODE_ALL, e vsprintf_irc().


Documentazione delle variabili

unsigned long current_serial = 0L [static]

struct Callback* iosend_cb = NULL

Definizione alla linea 50 del file send.c.

Referenziato da init_callbacks().

struct Callback* iosendctrl_cb = NULL

Definizione alla linea 51 del file send.c.

Referenziato da init_callbacks().


Generato il Wed Apr 15 00:19:23 2009 per ircd-hybrid da  doxygen 1.5.6