ekg2  GIT master
Struktury danych | Funkcje | Zmienne
Dokumentacja pliku sms.c
#include "ekg2.h"
#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
Wykres zależności załączania dla sms.c:

Struktury danych

struct  sms_away_t
 

Funkcje

static int sms_theme_init ()
 
static int sms_plugin_destroy ()
 
static void sms_child_handler (GPid pid, gint status, gpointer data)
 
static int sms_send (const char *recipient, const char *message)
 
static void sms_away_add (const char *uid)
 
static int sms_away_check (const char *uid)
 
static void sms_away_free ()
 
static int sms_command_sms (const char *name, const char **params, session_t *session, const char *target, int quiet)
 
static int dd_sms (const char *name)
 
static int sms_session_status (void *data, va_list ap)
 
static int sms_protocol_message (void *data, va_list ap)
 
int sms_plugin_init (int prio)
 

Zmienne

static list_t sms_away = NULL
 
static int config_sms_away = 0
 
static int config_sms_away_limit = 0
 
static char * config_sms_number = NULL
 
static char * config_sms_app = NULL
 
static int config_sms_max_length = 100
 
plugin_t sms_plugin = { .name = "sms", .pclass = PLUGIN_GENERIC , .destroy = sms_plugin_destroy, .theme_init = sms_theme_init }
 

Dokumentacja funkcji

◆ dd_sms()

static int dd_sms ( const char *  name)
static

◆ sms_away_add()

static void sms_away_add ( const char *  uid)
static

◆ sms_away_check()

static int sms_away_check ( const char *  uid)
static

◆ sms_away_free()

static void sms_away_free ( )
static

◆ sms_child_handler()

static void sms_child_handler ( GPid  pid,
gint  status,
gpointer  data 
)
static

◆ sms_command_sms()

static int sms_command_sms ( const char *  name,
const char **  params,
session_t session,
const char *  target,
int  quiet 
)
static

◆ sms_plugin_destroy()

static int sms_plugin_destroy ( )
static

◆ sms_plugin_init()

int sms_plugin_init ( int  prio)

◆ sms_protocol_message()

static int sms_protocol_message ( void *  data,
va_list  ap 
)
static

◆ sms_send()

static int sms_send ( const char *  recipient,
const char *  message 
)
static

◆ sms_session_status()

static int sms_session_status ( void *  data,
va_list  ap 
)
static

◆ sms_theme_init()

static int sms_theme_init ( )
static

Dokumentacja zmiennych

◆ config_sms_app

char* config_sms_app = NULL
static

◆ config_sms_away

int config_sms_away = 0
static

◆ config_sms_away_limit

int config_sms_away_limit = 0
static

◆ config_sms_max_length

int config_sms_max_length = 100
static

◆ config_sms_number

char* config_sms_number = NULL
static

◆ sms_away

list_t sms_away = NULL
static

◆ sms_plugin

plugin_t sms_plugin = { .name = "sms", .pclass = PLUGIN_GENERIC , .destroy = sms_plugin_destroy, .theme_init = sms_theme_init }