 |  |  | liblivejournal Reference Manual |  |
---|
friends
Details
LJ_FRIEND_GROUP_ALLFRIENDS
#define LJ_FRIEND_GROUP_ALLFRIENDS 1
enum LJFriendType
typedef enum {
LJ_FRIEND_TYPE_USER=1,
LJ_FRIEND_TYPE_COMMUNITY
} LJFriendType;
LJ_FRIEND_CONN_MY
#define LJ_FRIEND_CONN_MY (1 << 0)
LJ_FRIEND_CONN_OF
#define LJ_FRIEND_CONN_OF (1 << 1)
LJ_FRIEND_CONN_BOTH
#define LJ_FRIEND_CONN_BOTH (LJ_FRIEND_CONN_MY | LJ_FRIEND_CONN_OF)
lj_friend_new ()
LJFriend* lj_friend_new (void);
lj_friend_new_with ()
LJFriend* lj_friend_new_with (char *username,
char *name,
char *fg,
char *bg,
int conn,
guint32 mask,
char *type);
lj_friend_free ()
void lj_friend_free (LJFriend *f);
lj_friend_compare_username ()
gint lj_friend_compare_username (gconstpointer a,
gconstpointer b);
lj_friend_type_from_str ()
LJFriendType lj_friend_type_from_str (char *str);