Changeset 35b3518
- 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)
- Files:
-
- 2 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; -
functions.c
r476faed r35b3518 3077 3077 int interrupted = 0; 3078 3078 owl_fmtext fm; 3079 owl_buddylist *bl;3079 const owl_buddylist *bl; 3080 3080 const owl_buddy *b; 3081 3081 char *timestr;
Note: See TracChangeset
for help on using the changeset viewer.