ekg2  GIT master
Struktury danych | Funkcje | Zmienne
Dokumentacja pliku rot13.c
#include "ekg2.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
Wykres zależności załączania dla rot13.c:

Struktury danych

struct  rot13_key_t
 

Funkcje

static int rot13_theme_init ()
 
static int rot13_plugin_destroy ()
 
static void do_foo (char *p, int rot, int deltarot)
 
static rot13_key_trot13_find_key (char *session, char *target, int *reverted)
 
static int rot13_key_compare (void *data1, void *data2)
 
static int message_parse (void *data, va_list ap)
 
static rot13_key_trot13_key_parse (char *target, char *sesja, char *offset, char *offset2)
 
static int command_rot (const char *name, const char **params, session_t *session, const char *target, int quiet)
 
static int command_key (const char *name, const char **params, session_t *session, const char *target, int quiet)
 
static int rot13_setvar_default (void *data, va_list ap)
 
 __attribute__ ((visibility("default")))
 

Zmienne

static list_t keys
 
static int config_encryption = 0
 
static int config_default_rot
 
static int config_default_drot
 
plugin_t rot13_plugin = { .name = "rot13", .pclass = PLUGIN_CRYPT , .destroy = rot13_plugin_destroy, .theme_init = rot13_theme_init }
 

Dokumentacja funkcji

◆ __attribute__()

__attribute__ ( (visibility("default"))  )

◆ command_key()

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

◆ command_rot()

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

◆ do_foo()

static void do_foo ( char *  p,
int  rot,
int  deltarot 
)
static

◆ message_parse()

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

◆ rot13_find_key()

static rot13_key_t* rot13_find_key ( char *  session,
char *  target,
int *  reverted 
)
static

◆ rot13_key_compare()

static int rot13_key_compare ( void *  data1,
void *  data2 
)
static

◆ rot13_key_parse()

static rot13_key_t* rot13_key_parse ( char *  target,
char *  sesja,
char *  offset,
char *  offset2 
)
static

◆ rot13_plugin_destroy()

static int rot13_plugin_destroy ( )
static

◆ rot13_setvar_default()

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

◆ rot13_theme_init()

static int rot13_theme_init ( )
static

Dokumentacja zmiennych

◆ config_default_drot

int config_default_drot
static

◆ config_default_rot

int config_default_rot
static

◆ config_encryption

int config_encryption = 0
static

◆ keys

list_t keys
static

◆ rot13_plugin

plugin_t rot13_plugin = { .name = "rot13", .pclass = PLUGIN_CRYPT , .destroy = rot13_plugin_destroy, .theme_init = rot13_theme_init }