comparison plugins/statenotify.c @ 5587:1c55b1540e18

[gaim-migrate @ 5991] The rest of the plugins compile. Well, the default ones. notify.c is no longer compiled by default. I don't know for sure what we're doing with this, but I didn't want to fix it :) committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 31 May 2003 06:59:58 +0000
parents 3cd24f012091
children dae79aefac8d
comparison
equal deleted inserted replaced
5586:cde28f5c47d4 5587:1c55b1540e18
1 #include "gaim.h" 1 #include "gaim.h"
2 2
3 static void 3 static void
4 write_status(struct gaim_connection *gc, char *who, const char *message) 4 write_status(GaimConnection *gc, char *who, const char *message)
5 { 5 {
6 struct gaim_conversation *conv; 6 struct gaim_conversation *conv;
7 struct buddy *b; 7 struct buddy *b;
8 char buf[256]; 8 char buf[256];
9 9
19 19
20 gaim_conversation_write(conv, NULL, buf, -1, WFLAG_SYSTEM, time(NULL)); 20 gaim_conversation_write(conv, NULL, buf, -1, WFLAG_SYSTEM, time(NULL));
21 } 21 }
22 22
23 static void 23 static void
24 buddy_away_cb(struct gaim_connection *gc, char *who, void *data) 24 buddy_away_cb(GaimConnection *gc, char *who, void *data)
25 { 25 {
26 write_status(gc, who, "has gone away."); 26 write_status(gc, who, "has gone away.");
27 } 27 }
28 28
29 static void 29 static void
30 buddy_unaway_cb(struct gaim_connection *gc, char *who, void *data) 30 buddy_unaway_cb(GaimConnection *gc, char *who, void *data)
31 { 31 {
32 write_status(gc, who, "is no longer away."); 32 write_status(gc, who, "is no longer away.");
33 } 33 }
34 34
35 static void 35 static void
36 buddy_idle_cb(struct gaim_connection *gc, char *who, void *data) 36 buddy_idle_cb(GaimConnection *gc, char *who, void *data)
37 { 37 {
38 write_status(gc, who, "has become idle."); 38 write_status(gc, who, "has become idle.");
39 } 39 }
40 40
41 static void 41 static void
42 buddy_unidle_cb(struct gaim_connection *gc, char *who, void *data) 42 buddy_unidle_cb(GaimConnection *gc, char *who, void *data)
43 { 43 {
44 write_status(gc, who, "is no longer idle."); 44 write_status(gc, who, "is no longer idle.");
45 } 45 }
46 46
47 static gboolean 47 static gboolean