diff options
Diffstat (limited to 'rest-extras/lastfm-proxy-private.h')
-rw-r--r-- | rest-extras/lastfm-proxy-private.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/rest-extras/lastfm-proxy-private.h b/rest-extras/lastfm-proxy-private.h new file mode 100644 index 0000000..1002f39 --- /dev/null +++ b/rest-extras/lastfm-proxy-private.h @@ -0,0 +1,33 @@ +/* + * librest - RESTful web services access + * Copyright (c) 2010 Intel Corporation. + * + * Authors: Rob Bradford <rob@linux.intel.com> + * Ross Burton <ross@linux.intel.com> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU Lesser General Public License, + * version 2.1, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + +#include "lastfm-proxy.h" + +#define PROXY_GET_PRIVATE(o) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((o), LASTFM_TYPE_PROXY, LastfmProxyPrivate)) + +struct _LastfmProxyPrivate { + char *api_key; + char *secret; + char *session_key; +}; + |