-
Notifications
You must be signed in to change notification settings - Fork 2
/
buddy_memo.h
46 lines (37 loc) · 1.55 KB
/
buddy_memo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* @file buddy_memo.h
*
* purple
*
* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#ifndef _QQ_BUDDY_MEMO_H_
#define _QQ_BUDDY_MEMO_H_
#include <glib.h>
#include "connection.h"
#include "blist.h"
#define QQ_BUDDY_MEMO_REQUEST_SUCCESS 0x00
/* clan command for memo */
#define QQ_BUDDY_MEMO_MODIFY 0x01 /* upload memo */
#define QQ_BUDDY_MEMO_REMOVE 0x02 /* remove memo */
#define QQ_BUDDY_MEMO_GET 0x6f /* get memo */
#define QQ_BUDDY_MEMO_ALIAS 0x68 /* get buddies alias list */
void qq_process_get_buddy_memo(PurpleConnection *gc, guint8* data, gint data_len, guint32 update_class, guint32 index);
void qq_request_buddy_memo(PurpleConnection *gc, guint32 index, guint32 update_class, guint8 action);
#endif