diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-06-25 19:39:06 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-06-25 21:00:37 +0200 |
commit | 2eb9e35ccf5112a6f01225c97b05e90eca8c7ea9 (patch) | |
tree | ba023036ef598a17332173e8e0185318bd47ce2a | |
parent | 36e09422846f3456b45d977cfec20f485a559a4a (diff) | |
download | gvfs-2eb9e35ccf5112a6f01225c97b05e90eca8c7ea9.tar.gz |
Add header include protection and boilerplate
-rw-r--r-- | metadata/metabuilder.h | 27 | ||||
-rw-r--r-- | metadata/metatree.h | 26 |
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__ */ |