Changeset e19eb97 for buddylist.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:18 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
1077891a
Parents:
fa4562c
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 02:37:51)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:18)
Message:
Add const qualifiers for char * and void *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • buddylist.c

    rd43edd2 re19eb97  
    88/* add a (logged-in) AIM buddy to the buddy list
    99 */
    10 void owl_buddylist_add_aim_buddy(owl_buddylist *bl, char *screenname)
     10void owl_buddylist_add_aim_buddy(owl_buddylist *bl, const char *screenname)
    1111{
    1212  owl_buddy *b;
     
    1919/* remove an AIM buddy from the buddy list
    2020 */
    21 int owl_buddylist_remove_aim_buddy(owl_buddylist *bl, char *name)
     21int owl_buddylist_remove_aim_buddy(owl_buddylist *bl, const char *name)
    2222{
    2323  int i, j;
     
    4040 * logged in.
    4141 */
    42 void owl_buddylist_oncoming(owl_buddylist *bl, char *screenname)
     42void owl_buddylist_oncoming(owl_buddylist *bl, const char *screenname)
    4343{
    4444  owl_message *m;
     
    6666 * has logged out, and sending a message if they were logged in.
    6767 */
    68 void owl_buddylist_offgoing(owl_buddylist *bl, char *screenname)
     68void owl_buddylist_offgoing(owl_buddylist *bl, const char *screenname)
    6969{
    7070  owl_message *m;
     
    103103 * no such buddy is logged in, return NULL.
    104104 */
    105 owl_buddy *owl_buddylist_get_aim_buddy(owl_buddylist *bl, char *name)
     105owl_buddy *owl_buddylist_get_aim_buddy(owl_buddylist *bl, const char *name)
    106106{
    107107  int i, j;
     
    119119 * otherwise return 0
    120120 */
    121 int owl_buddylist_is_aim_buddy_loggedin(owl_buddylist *bl, char *screenname)
     121int owl_buddylist_is_aim_buddy_loggedin(owl_buddylist *bl, const char *screenname)
    122122{
    123123  owl_buddy *b;
Note: See TracChangeset for help on using the changeset viewer.