ekg2
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje Grupay Strony
Definicje | Funkcje
Dokumentacja pliku misc.c
#include "ekg2-config.h"
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <libgadu.h>
#include <ekg/sessions.h>
#include <ekg/themes.h>
#include <ekg/userlist.h>
#include <ekg/xmalloc.h>
#include <ekg/debug.h>
#include <ekg/stuff.h>
#include "gg.h"
#include "misc.h"

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_locale (session_t *s, char *txt)
char * gg_to_locale_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

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

Dokumentacja funkcji

int gg_blocked_add ( session_t s,
const char *  uid 
)
int gg_blocked_remove ( session_t s,
const char *  uid 
)
const char* gg_http_error_string ( int  h)
int gg_status_to_text ( int  status)
int gg_text_to_status ( const int  status,
const char *  descr 
)
char* gg_to_locale ( session_t s,
char *  txt 
)
char* gg_to_locale_dup ( session_t s,
const char *  txt 
)
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()
char gg_userlist_type ( userlist_t u)
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 
)