?? friends.h
字號:
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */#ifndef INCLUDED_FRIENDS_H#define INCLUDED_FRIENDS_Htypedef struct friend_struct { char mutual; /* -1 - unloaded(used to remove deleted elems when reload); 0 - not mutual ; 1 - is mutual */ t_account *friendacc;} t_friend;#ifndef JUST_NEED_TYPESextern t_account * friend_get_account(t_friend *);extern int friend_set_account(t_friend *, t_account * acc);extern char friend_get_mutual(t_friend *);extern int friend_set_mutual(t_friend *, char);extern int friendlist_unload(t_list *);extern int friendlist_close(t_list *);extern int friendlist_purge(t_list *);extern int friendlist_add_account(t_list *, t_account *, int);extern int friendlist_remove_friend(t_list * flist, t_friend *);extern int friendlist_remove_account(t_list *, t_account *);extern int friendlist_remove_username(t_list *, const char *);extern t_friend * friendlist_find_account(t_list *, t_account *);extern t_friend * friendlist_find_username(t_list *, const char *);extern t_friend * friendlist_find_uid(t_list *, int);#endif#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -