Update of /cvsroot/ayttm/ayttm/modules/workwizu
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12682/modules/workwizu
Modified Files:
workwizu.c workwizu.h
Log Message:
reformatted source code
Index: workwizu.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/workwizu/workwizu.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- workwizu.c 27 Jul 2009 16:42:04 -0000 1.17
+++ workwizu.c 17 Sep 2009 12:04:59 -0000 1.18
@@ -79,15 +79,17 @@
************************************************************************************/
#ifndef USE_POSIX_DLOPEN
- #define plugin_info workwizu_LTX_plugin_info
- #define SERVICE_INFO workwizu_LTX_SERVICE_INFO
- #define plugin_init workwizu_LTX_plugin_init
- #define plugin_finish workwizu_LTX_plugin_finish
- #define module_version workwizu_LTX_module_version
+#define plugin_info workwizu_LTX_plugin_info
+#define SERVICE_INFO workwizu_LTX_SERVICE_INFO
+#define plugin_init workwizu_LTX_plugin_init
[...1443 lines suppressed...]
+ sc->set_current_state = eb_workwizu_set_current_state;
+ sc->check_login = eb_workwizu_check_login;
+ sc->add_user = eb_workwizu_add_user;
+ sc->del_user = eb_workwizu_del_user;
+ sc->new_account = eb_workwizu_new_account;
+ sc->get_status_string = eb_workwizu_get_status_string;
+ sc->get_status_pixmap = eb_workwizu_get_status_pixmap;
+ sc->send_chat_room_message = eb_workwizu_send_chat_room_message;
+ sc->join_chat_room = eb_workwizu_join_chat_room;
+ sc->leave_chat_room = eb_workwizu_leave_chat_room;
+ sc->make_chat_room = eb_workwizu_make_chat_room;
+ sc->send_invite = eb_workwizu_send_invite;
+ sc->get_color = eb_workwizu_get_color;
+ sc->get_smileys = eb_default_smileys;
+ sc->set_away = eb_workwizu_set_away;
+ sc->set_idle = eb_workwizu_set_idle;
- return sc;
+ return sc;
}
Index: workwizu.h
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/workwizu/workwizu.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- workwizu.h 8 Apr 2003 08:40:08 -0000 1.3
+++ workwizu.h 17 Sep 2009 12:04:59 -0000 1.4
@@ -21,24 +21,23 @@
#ifndef __EB_WORKWIZU_H__
#define __EB_WORKWIZU_H__
-
+
#include "service.h"
-struct service_callbacks * workwizu_query_callbacks();
+struct service_callbacks *workwizu_query_callbacks();
typedef struct {
int fd;
int tag_r;
- int tag_w;
-}tag_info;
+ int tag_w;
+} tag_info;
typedef struct _wwz_account_data wwz_account_data;
-struct _wwz_account_data
-{
+struct _wwz_account_data {
char *password;
int sock;
- eb_chat_room *chat_room; /* only one */
+ eb_chat_room *chat_room; /* only one */
int activity_tag;
int connect_tag;
};
@@ -59,21 +58,18 @@
int typing_handler;
};
-typedef enum
-{
+typedef enum {
CONN_CLOSED,
CONN_WAITING_CHALLENGE,
CONN_WAITING_USERINFO,
CONN_ESTABLISHED
} ConnState;
-
-static void clean_up (int sock);
-eb_account * eb_workwizu_new_account (const char *account);
-void eb_workwizu_add_user (eb_account *account);
-void eb_workwizu_del_user (eb_account *account);
-void eb_workwizu_logout (eb_local_account *account);
-
+static void clean_up(int sock);
+eb_account *eb_workwizu_new_account(const char *account);
+void eb_workwizu_add_user(eb_account *account);
+void eb_workwizu_del_user(eb_account *account);
+void eb_workwizu_logout(eb_local_account *account);
/* destinations */
#define CHANNEL 0
|