| 
    ekg2
    GIT master
    
   | 
 
#include "ekg2.h"#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <sys/stat.h>#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdarg.h>#include <limits.h>#include <unistd.h>#include <setjmp.h>#include <libgadu.h>#include "dcc.h"#include "gg.h"#include "images.h"#include "misc.h"#include "pubdir.h"#include "pubdir50.h"#include "token.h"
Definicje | |
| #define | GG_ONLY SESSION_MUSTBELONG | SESSION_MUSTHASPRIVATE | 
| #define | GG_FLAGS GG_ONLY | SESSION_MUSTBECONNECTED | 
| #define | GG_FLAGS_TARGET GG_FLAGS | COMMAND_ENABLEREQPARAMS | COMMAND_PARAMASTARGET | 
Funkcje | |
| static char * | session_descr_sync (session_t *session, const char *new_reason) | 
| static int | gg_command_connect (const char *name, const char **params, session_t *session, const char *target, int quiet) | 
| static int | gg_command_away (const char *name, const char **params, session_t *session, const char *target, int quiet) | 
| static int | gg_command_msg (const char *name, const char **params, session_t *session, const char *target, int quiet) | 
| static int | gg_command_inline_msg (const char *name, const char **params, session_t *session, const char *target, int quiet) | 
| static int | gg_command_block (const char *name, const char **params, session_t *session, const char *target, int quiet) | 
| static int | gg_command_unblock (const char *name, const char **params, session_t *session, const char *target, int quiet) | 
| static int | gg_handle_token (int type, int fd, watch_type_t watch, void *data) | 
| static int | gg_command_token (const char *name, const char **params, session_t *session, const char *target, int quiet) | 
| static int | gg_command_modify (const char *name, const char **params, session_t *session, const char *target, int quiet) | 
| static gint | gg_checked_timer_handler (gint type, gpointer data) | 
| static int | gg_command_check_conn (const char *name, const char **params, session_t *session, const char *target, int quiet) | 
| void | gg_register_commands () | 
| #define GG_FLAGS GG_ONLY | SESSION_MUSTBECONNECTED | 
| #define GG_FLAGS_TARGET GG_FLAGS | COMMAND_ENABLEREQPARAMS | COMMAND_PARAMASTARGET | 
| #define GG_ONLY SESSION_MUSTBELONG | SESSION_MUSTHASPRIVATE | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
Block uid or printq() list of blocked uids.
 Handler for: /gg:block command
| params | 0 - uid to block, or NULL if you want to display list of blocked uids. | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
Unblock uid. Or everybody if uid '*'
 Handler for: /gg:unlock command.
| params | 0 - uid to unblock, or '*' to unblock everyone. | 
      
  | 
  static | 
| void gg_register_commands | ( | ) | 
      
  | 
  static | 
 1.8.13