ekg2
Funkcje
Dokumentacja pliku plugins/python/python-user.c
#include "ekg2-config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <Python.h>
#include <ekg/debug.h>
#include <ekg/userlist.h>
#include <ekg/commands.h>
#include <ekg/dynstuff.h>
#include <ekg/plugins.h>
#include <ekg/protocol.h>
#include <ekg/sessions.h>
#include <ekg/stuff.h>
#include <ekg/themes.h>
#include <ekg/vars.h>
#include <ekg/xmalloc.h>
#include <ekg/queries.h>
#include "python.h"
#include "python-user.h"

Funkcje

PyObject * python_build_user (char *session, const char *name)
int ekg_user_init (ekg_userObj *self, PyObject *args, PyObject *kwds)
PyObject * ekg_user_get_attr (ekg_userObj *self, char *attr)
void ekg_user_dealloc (ekg_userObj *o)
PyObject * ekg_user_repr (ekg_userObj *self)
PyObject * ekg_user_str (ekg_userObj *self)
PyObject * ekg_user_groups (ekg_userObj *self)

Dokumentacja funkcji

void ekg_user_dealloc ( ekg_userObj o)

ekg_user_dealloc()

deallocation of user object

PyObject* ekg_user_get_attr ( ekg_userObj self,
char *  attr 
)

ekg_user_get_attr()

get attribute from user object

PyObject* ekg_user_groups ( ekg_userObj self)

ekg_user_groups()

return true if user is connected

int ekg_user_init ( ekg_userObj self,
PyObject *  args,
PyObject *  kwds 
)

ekg_user_init()

initialization of user object

PyObject* ekg_user_repr ( ekg_userObj self)

ekg_user_repr()

__repr__ method

PyObject* ekg_user_str ( ekg_userObj self)

ekg_user_str()

__str__ method

PyObject* python_build_user ( char *  session,
const char *  name 
)

ekg_user_init()

initialization of user object

 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje