From 613ad8ab28d8ab921ac78039d0fa99cc6a234796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Fri, 30 Mar 2018 09:47:49 +0100 Subject: header: add rest.h as unique header This allows easier use of the library --- rest/Makefile.am | 5 +++-- rest/rest.h | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 rest/rest.h diff --git a/rest/Makefile.am b/rest/Makefile.am index 64205d4..2f65a1a 100644 --- a/rest/Makefile.am +++ b/rest/Makefile.am @@ -38,7 +38,8 @@ lib_headers = \ oauth2-proxy.h \ oauth2-proxy-call.h \ rest-xml-node.h \ - rest-xml-parser.h + rest-xml-parser.h \ + rest.h EXTRA_DIST = \ rest-marshal.txt @@ -120,7 +121,7 @@ Rest_@API_VERSION_AM@_gir_INCLUDES = GObject-2.0 Gio-2.0 Soup-2.4 Rest_@API_VERSION_AM@_gir_PACKAGES = gobject-2.0 libsoup-2.4 libxml-2.0 gio-2.0 Rest_@API_VERSION_AM@_gir_SCANNERFLAGS = --accept-unprefixed --warn-all Rest_@API_VERSION_AM@_gir_EXPORT_PACKAGES = rest-@API_VERSION@ -REST_CINCLUDES=$(patsubst %,--c-include='rest/%',$(shell echo $(lib_headers))) +REST_CINCLUDES=--c-include='rest/rest.h' INTROSPECTION_SCANNER_ARGS = $(REST_CINCLUDES) girdir = $(datadir)/gir-1.0 diff --git a/rest/rest.h b/rest/rest.h new file mode 100644 index 0000000..bbcef69 --- /dev/null +++ b/rest/rest.h @@ -0,0 +1,36 @@ +/* + * librest - RESTful web services access + * Copyright (c) 2008, 2009, 2010 Intel Corporation. + * + * 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. + * + */ + +#ifndef _REST_H +#define _REST_H 1 + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif -- cgit v1.2.1