summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-06-25 19:39:06 +0200
committerAlexander Larsson <alexl@redhat.com>2009-06-25 21:00:37 +0200
commit2eb9e35ccf5112a6f01225c97b05e90eca8c7ea9 (patch)
treeba023036ef598a17332173e8e0185318bd47ce2a
parent36e09422846f3456b45d977cfec20f485a559a4a (diff)
downloadgvfs-2eb9e35ccf5112a6f01225c97b05e90eca8c7ea9.tar.gz
Add header include protection and boilerplate
-rw-r--r--metadata/metabuilder.h27
-rw-r--r--metadata/metatree.h26
2 files changed, 53 insertions, 0 deletions
diff --git a/metadata/metabuilder.h b/metadata/metabuilder.h
index 9cf6caba..f67d24de 100644
--- a/metadata/metabuilder.h
+++ b/metadata/metabuilder.h
@@ -1,3 +1,28 @@
+/* GIO - GLib Input, Output and Streaming Library
+ *
+ * Copyright (C) 2009 Red Hat, Inc.
+ *
+ * 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 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., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Alexander Larsson <alexl@redhat.com>
+ */
+
+#ifndef __META_BUILDER_H__
+#define __META_BUILDER_H__
+
#include <glib.h>
typedef struct _MetaBuilder MetaBuilder;
@@ -64,3 +89,5 @@ void metafile_key_list_set (MetaFile *metafile,
void metafile_key_list_add (MetaFile *metafile,
const char *key,
const char *value);
+
+#endif /* __META_BUILDER_H__ */
diff --git a/metadata/metatree.h b/metadata/metatree.h
index 325e6fe9..40b4457e 100644
--- a/metadata/metatree.h
+++ b/metadata/metatree.h
@@ -1,3 +1,28 @@
+/* GIO - GLib Input, Output and Streaming Library
+ *
+ * Copyright (C) 2009 Red Hat, Inc.
+ *
+ * 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 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., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Alexander Larsson <alexl@redhat.com>
+ */
+
+#ifndef __META_TREE_H__
+#define __META_TREE_H__
+
#include <glib.h>
typedef struct _MetaTree MetaTree;
@@ -78,3 +103,4 @@ gboolean meta_tree_remove (MetaTree *tree,
gboolean meta_tree_copy (MetaTree *tree,
const char *src,
const char *dest);
+#endif /* __META_TREE_H__ */