Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/proxy.h

    rba9edaa rc3ffa45  
    11/*
    2  * nogaim
     2 * gaim
    33 *
    44 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net>
     
    3636#include <gmodule.h>
    3737
    38 #include "events.h"
    39 
    4038#define PROXY_NONE 0
    4139#define PROXY_HTTP 1
     
    4947extern char proxypass[128];
    5048
    51 G_MODULE_EXPORT int proxy_connect(const char *host, int port, b_event_handler func, gpointer data);
     49typedef enum {
     50        GAIM_INPUT_READ = 1 << 0,
     51        GAIM_INPUT_WRITE = 1 << 1
     52} GaimInputCondition;
     53typedef void (*GaimInputFunction)(gpointer, gint, GaimInputCondition);
     54
     55G_MODULE_EXPORT gint gaim_input_add(int, GaimInputCondition, GaimInputFunction, gpointer);
     56G_MODULE_EXPORT void gaim_input_remove(gint);
     57
     58G_MODULE_EXPORT int proxy_connect(const char *host, int port, GaimInputFunction func, gpointer data);
    5259
    5360#endif /* _PROXY_H_ */
Note: See TracChangeset for help on using the changeset viewer.