ekg2  GIT master
Definicje | Funkcje
Dokumentacja pliku misc.c
#include "ekg2.h"
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <libgadu.h>
#include "gg.h"
#include "misc.h"
Wykres zależności załączania dla misc.c:

Definicje

#define GG_TTS(x, y)   if (status == EKG_STATUS_##x) return (descr ? GG_STATUS_##y##_DESCR : GG_STATUS_##y);
 

Funkcje

int gg_status_to_text (int status)
 
int gg_text_to_status (const int status, const char *descr)
 
char gg_userlist_type (userlist_t *u)
 
int gg_blocked_remove (session_t *s, const char *uid)
 
int gg_blocked_add (session_t *s, const char *uid)
 
const char * gg_http_error_string (int h)
 
int gg_userlist_send (struct gg_session *s, userlist_t *userlist)
 
char * gg_to_core (session_t *s, char *txt)
 
char * gg_to_core_dup (session_t *s, const char *txt)
 
char * locale_to_gg (session_t *s, char *txt)
 
char * locale_to_gg_dup (session_t *s, const char *txt)
 
const char * locale_to_gg_use (session_t *s, const char *txt)
 

Dokumentacja definicji

◆ GG_TTS

#define GG_TTS (   x,
 
)    if (status == EKG_STATUS_##x) return (descr ? GG_STATUS_##y##_DESCR : GG_STATUS_##y);

Dokumentacja funkcji

◆ gg_blocked_add()

int gg_blocked_add ( session_t s,
const char *  uid 
)

◆ gg_blocked_remove()

int gg_blocked_remove ( session_t s,
const char *  uid 
)

◆ gg_http_error_string()

const char* gg_http_error_string ( int  h)

◆ gg_status_to_text()

int gg_status_to_text ( int  status)

◆ gg_text_to_status()

int gg_text_to_status ( const int  status,
const char *  descr 
)

◆ gg_to_core()

char* gg_to_core ( session_t s,
char *  txt 
)

◆ gg_to_core_dup()

char* gg_to_core_dup ( session_t s,
const char *  txt 
)

◆ gg_userlist_send()

int gg_userlist_send ( struct gg_session *  s,
userlist_t userlist 
)

gg_userlist_send()

Send to server our user list.

Parametry
s- gg_session [it's not session_t *]
userlist- user list.
Do zrobienia:
XXX, think about args here, maybe let's pass only session_t ?
Zwraca
result of gg_notify_ex()

◆ gg_userlist_type()

char gg_userlist_type ( userlist_t u)

◆ locale_to_gg()

char* locale_to_gg ( session_t s,
char *  txt 
)

◆ locale_to_gg_dup()

char* locale_to_gg_dup ( session_t s,
const char *  txt 
)

◆ locale_to_gg_use()

const char* locale_to_gg_use ( session_t s,
const char *  txt 
)