annotate mcabber/buddies.h @ 0:b3b2332715fb

Tailorization of /trunk Import of the upstream sources from Repository: file:///tmp/svn-mcabber Module: /trunk Revision: 15
author tailor@frmp8452
date Thu, 30 Jun 2005 21:39:31 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
1 #ifndef __BUDDIES_H__
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
2 #define __BUDDIES_H__ 1
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
3
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
4 #include <ncurses.h>
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
5 #include "list.h"
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
6
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
7 /* Definici´┐Żn de tipos */
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
8 typedef struct _buddy_entry_t {
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
9 char *jid;
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
10 char *name;
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
11 char *group;
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
12 char *resource;
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
13 int flags;
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
14 struct list_head list;
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
15 } buddy_entry_t;
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
16
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
17 void bud_DrawRoster(WINDOW * win);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
18 void bud_RosterDown(void);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
19 void bud_RosterUp(void);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
20 void bud_InitBuddies(int sock);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
21 void bud_TerminateBuddies(void);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
22 int bud_BuddyCount(void);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
23 void bud_SetBuddyStatus(char *jidfrom, int status);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
24 void bud_ParseBuddies(char *roster);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
25 void bud_AddBuddy(int sock);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
26 void bud_DeleteBuddy(int sock);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
27 buddy_entry_t *bud_SelectedInfo(void);
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
28
b3b2332715fb Tailorization of /trunk
tailor@frmp8452
parents:
diff changeset
29 #endif