Replace functions which called once with their bodies
[pidgin-git.git] / libpurple / protocols / gg / oauth / oauth-parameter.h
blobe5d1169dbd0432668b1d302e44be07d46d5eeb56
1 /* purple
3 * Purple is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5 * source distribution.
7 * Code adapted from libgadu (C) 2008 Wojtek Kaniewski <wojtekka@irc.pl>
8 * (http://toxygen.net/libgadu/) during Google Summer of Code 2012
9 * by Tomek Wasilczyk (http://www.wasilczyk.pl).
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
26 #ifndef _GGP_OAUTH_PARAMETER_H
27 #define _GGP_OAUTH_PARAMETER_H
29 #include <internal.h>
31 typedef struct gg_oauth_parameter gg_oauth_parameter_t;
33 int gg_oauth_parameter_set(gg_oauth_parameter_t **list, const char *key, const char *value);
34 char *gg_oauth_parameter_join(gg_oauth_parameter_t *list, int header);
35 void gg_oauth_parameter_free(gg_oauth_parameter_t *list);
37 #endif /* _GGP_OAUTH_PARAMETER_H */