summaryrefslogtreecommitdiff
path: root/gusb/gusb-context-private.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-08-10 10:11:08 +0200
committerHans de Goede <hdegoede@redhat.com>2011-08-10 20:09:38 +0200
commit2bf9da55c137caa022007b457705948695b5d9a4 (patch)
treec0843a479d8983aa05587bbf7253baf0e3ed84dc /gusb/gusb-context-private.h
parentc2b1690bb1b877bc1317a437069e7bb36166dba0 (diff)
downloadgusb-2bf9da55c137caa022007b457705948695b5d9a4.tar.gz
Rename libgusb to gusb
So that we can include our headers from other headers in the form of: include <gusb/gusb-foo.h> And still have a working local build.
Diffstat (limited to 'gusb/gusb-context-private.h')
-rw-r--r--gusb/gusb-context-private.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/gusb/gusb-context-private.h b/gusb/gusb-context-private.h
new file mode 100644
index 0000000..08047fc
--- /dev/null
+++ b/gusb/gusb-context-private.h
@@ -0,0 +1,35 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ *
+ * Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
+ *
+ * Licensed under the GNU Lesser General Public License Version 2.1
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef __GUSB_CONTEXT_PRIVATE_H__
+#define __GUSB_CONTEXT_PRIVATE_H__
+
+#include <libusb-1.0/libusb.h>
+
+#include "gusb-context.h"
+
+G_BEGIN_DECLS
+
+libusb_context *_g_usb_context_get_context (GUsbContext *context);
+
+G_END_DECLS
+
+#endif /* __GUSB_CONTEXT_PRIVATE_H__ */