libsrsirc  0.0.14
Lightweight, cross-platform IRC library
Data Fields

Object representation of an IRC user. More...

#include <irc_track.h>

Data Fields

const char * modepfx
 Mode prefix - only used when dealing with the user in the context of a channel membership, NULL otherwise. More...
 
const char * nick
 Nickname of the user.
 
const char * uname
 Username, or NULL if unknown.
 
const char * host
 Hostname, or NULL if unknown.
 
const char * fname
 Full name, or NULL if unknown.
 
size_t nchans
 Number of channels we know the user is in.
 
void * tag
 Opaque user (as in, libsrsirc user) data.
 

Detailed Description

Object representation of an IRC user.

This struct represents a user on IRC and the information we know about them

Field Documentation

const char* userrep::modepfx

Mode prefix - only used when dealing with the user in the context of a channel membership, NULL otherwise.

When this struct represents a user in the context of a channel membership, e.g. via irc_member(), modepfx will point to the user's mode prefix in the respective channel.

When this struct represents a user outside of a channel context, modepfx will be NULL.


The documentation for this struct was generated from the following file: