summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2011-10-09 21:05:20 +0000
committerMilan Broz <gmazyland@gmail.com>2011-10-09 21:05:20 +0000
commit56e73526add00399cbe9b20bb52105d77218b1f1 (patch)
tree4a8878dc4a82bef611142596bc1239d4b61de05d /docs
parente640f5e00625bfed47660e6a5a1b5ba8750dee88 (diff)
downloadcryptsetup-56e73526add00399cbe9b20bb52105d77218b1f1.tar.gz
cryptsetup-56e73526add00399cbe9b20bb52105d77218b1f1.tar.bz2
cryptsetup-56e73526add00399cbe9b20bb52105d77218b1f1.zip
Add license to example files (LGPL).
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@632 36d66b0a-2a48-0410-832c-cd162a569da5
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/crypt_log_usage.c20
-rw-r--r--docs/examples/crypt_luks_usage.c20
2 files changed, 40 insertions, 0 deletions
diff --git a/docs/examples/crypt_log_usage.c b/docs/examples/crypt_log_usage.c
index 15a8a0b..a371319 100644
--- a/docs/examples/crypt_log_usage.c
+++ b/docs/examples/crypt_log_usage.c
@@ -1,3 +1,23 @@
+/*
+ * An example of using logging through libcryptsetup API
+ *
+ * Copyright (C) 2011, Red Hat, Inc. All rights reserved.
+ *
+ * This file 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 file 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 file; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
#include <stdio.h>
#include <sys/types.h>
#include <syslog.h>
diff --git a/docs/examples/crypt_luks_usage.c b/docs/examples/crypt_luks_usage.c
index 0663bec..88fe7dd 100644
--- a/docs/examples/crypt_luks_usage.c
+++ b/docs/examples/crypt_luks_usage.c
@@ -1,3 +1,23 @@
+/*
+ * An example of using LUKS device through libcryptsetup API
+ *
+ * Copyright (C) 2011, Red Hat, Inc. All rights reserved.
+ *
+ * This file 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 file 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 file; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>