Mon, 16 Sep 2013 11:58:46 +0200
Gadu-Gadu: don't Werror
|
33349
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
1 | /* purple |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
2 | * |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
3 | * Purple is the legal property of its developers, whose names are too numerous |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
5 | * source distribution. |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
6 | * |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
7 | * Code adapted from libgadu (C) 2008 Wojtek Kaniewski <wojtekka@irc.pl> |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
8 | * (http://toxygen.net/libgadu/) during Google Summer of Code 2012 |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
9 | * by Tomek Wasilczyk (http://www.wasilczyk.pl). |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
10 | * |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
11 | * This program is free software; you can redistribute it and/or modify |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
12 | * it under the terms of the GNU General Public License as published by |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
13 | * the Free Software Foundation; either version 2 of the License, or |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
14 | * (at your option) any later version. |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
15 | * |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
16 | * This program is distributed in the hope that it will be useful, |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
19 | * GNU General Public License for more details. |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
20 | * |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
21 | * You should have received a copy of the GNU General Public License |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
22 | * along with this program; if not, write to the Free Software |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
23 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
d4a017428f4d
Gadu-Gadu: missing copyright notes
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
33329
diff
changeset
|
24 | */ |
|
33329
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
25 | |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
26 | #ifndef _GGP_OAUTH_PARAMETER_H |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
27 | #define _GGP_OAUTH_PARAMETER_H |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
28 | |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
29 | #include <internal.h> |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
30 | |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
31 | typedef struct gg_oauth_parameter gg_oauth_parameter_t; |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
32 | |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
33 | int gg_oauth_parameter_set(gg_oauth_parameter_t **list, const char *key, const char *value); |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
34 | char *gg_oauth_parameter_join(gg_oauth_parameter_t *list, int header); |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
35 | void gg_oauth_parameter_free(gg_oauth_parameter_t *list); |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
36 | |
|
cf23e0f1861a
Gadu-Gadu: OAuth support
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
diff
changeset
|
37 | #endif /* _GGP_OAUTH_PARAMETER_H */ |