Mercurial > pidgin
comparison src/protocols/oscar/ssi.c @ 3867:43e396e94095
[gaim-migrate @ 4019]
compile cleanups by nathan
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sun, 03 Nov 2002 07:36:09 +0000 |
parents | 9682c0e022c6 |
children | 2532f1192da3 |
comparison
equal
deleted
inserted
replaced
3866:994b5c4d15dd | 3867:43e396e94095 |
---|---|
688 * @param oldgn The group that the buddy is currently in. | 688 * @param oldgn The group that the buddy is currently in. |
689 * @param newgn The group that the buddy should be moved in to. | 689 * @param newgn The group that the buddy should be moved in to. |
690 * @param sn The name of the buddy to be moved. | 690 * @param sn The name of the buddy to be moved. |
691 * @return Return 0 if no errors, otherwise return the error number. | 691 * @return Return 0 if no errors, otherwise return the error number. |
692 */ | 692 */ |
693 faim_export int aim_ssi_movebuddy(aim_session_t *sess, aim_conn_t *conn, char *oldgn, char *newgn, char *sn) | 693 faim_export int aim_ssi_movebuddy(aim_session_t *sess, aim_conn_t *conn, const char *oldgn, const char *newgn, const char *sn) |
694 { | 694 { |
695 struct aim_ssi_item **groups, *buddy, *cur; | 695 struct aim_ssi_item **groups, *buddy, *cur; |
696 fu16_t i; | 696 fu16_t i; |
697 | 697 |
698 if (!sess || !conn || !oldgn || !newgn || !sn) | 698 if (!sess || !conn || !oldgn || !newgn || !sn) |
764 * @param conn The bos connection for this session. | 764 * @param conn The bos connection for this session. |
765 * @param oldgn The old group name. | 765 * @param oldgn The old group name. |
766 * @param newgn The new group name. | 766 * @param newgn The new group name. |
767 * @return Return 0 if no errors, otherwise return the error number. | 767 * @return Return 0 if no errors, otherwise return the error number. |
768 */ | 768 */ |
769 faim_export int aim_ssi_rename_group(aim_session_t *sess, aim_conn_t *conn, char *oldgn, char *newgn) | 769 faim_export int aim_ssi_rename_group(aim_session_t *sess, aim_conn_t *conn, const char *oldgn, const char *newgn) |
770 { | 770 { |
771 struct aim_ssi_item *group; | 771 struct aim_ssi_item *group; |
772 | 772 |
773 if (!sess || !conn || !oldgn || !newgn) | 773 if (!sess || !conn || !oldgn || !newgn) |
774 return -EINVAL; | 774 return -EINVAL; |
803 * @param gn The name of the group from which you want to delete these names. | 803 * @param gn The name of the group from which you want to delete these names. |
804 * @param sn An array of null terminated strings of the names you want to delete. | 804 * @param sn An array of null terminated strings of the names you want to delete. |
805 * @param num The number of screen names you are deleting (size of the sn array). | 805 * @param num The number of screen names you are deleting (size of the sn array). |
806 * @return Return 0 if no errors, otherwise return the error number. | 806 * @return Return 0 if no errors, otherwise return the error number. |
807 */ | 807 */ |
808 faim_export int aim_ssi_delbuddies(aim_session_t *sess, aim_conn_t *conn, char *gn, char **sn, unsigned int num) | 808 faim_export int aim_ssi_delbuddies(aim_session_t *sess, aim_conn_t *conn, const char *gn, char **sn, unsigned int num) |
809 { | 809 { |
810 struct aim_ssi_item *cur, *parentgroup, **delitems; | 810 struct aim_ssi_item *cur, *parentgroup, **delitems; |
811 int i; | 811 int i; |
812 | 812 |
813 if (!sess || !conn || !gn || !sn || !num) | 813 if (!sess || !conn || !gn || !sn || !num) |