Changeset 35b3518 for buddylist.c
- Timestamp:
- Aug 15, 2009, 7:08:21 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- b258c51
- Parents:
- 476faed
- git-author:
- Anders Kaseorg <andersk@mit.edu> (07/22/09 03:42:11)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
buddylist.c
r476faed r35b3518 85 85 86 86 /* return the number of logged in buddies */ 87 int owl_buddylist_get_size( owl_buddylist *bl)87 int owl_buddylist_get_size(const owl_buddylist *bl) 88 88 { 89 89 return(owl_list_get_size(&(bl->buddies))); … … 92 92 /* return the buddy with index N. If out of range, return NULL 93 93 */ 94 owl_buddy *owl_buddylist_get_buddy_n( owl_buddylist *bl, int index)94 owl_buddy *owl_buddylist_get_buddy_n(const owl_buddylist *bl, int index) 95 95 { 96 96 if (index<0) return(NULL); … … 103 103 * no such buddy is logged in, return NULL. 104 104 */ 105 owl_buddy *owl_buddylist_get_aim_buddy( owl_buddylist *bl, const char *name)105 owl_buddy *owl_buddylist_get_aim_buddy(const owl_buddylist *bl, const char *name) 106 106 { 107 107 int i, j; … … 119 119 * otherwise return 0 120 120 */ 121 int owl_buddylist_is_aim_buddy_loggedin( owl_buddylist *bl, const char *screenname)121 int owl_buddylist_is_aim_buddy_loggedin(const owl_buddylist *bl, const char *screenname) 122 122 { 123 123 const owl_buddy *b;
Note: See TracChangeset
for help on using the changeset viewer.