summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2010-05-26 13:55:19 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2010-05-26 13:55:19 +1000
commitcb5210043ddce5ba5bbc4962671aca17585e75dc (patch)
tree1e315a2027d5f3708595cb01e5cbd43867c809bc
parent92340e4d6fc1850095358290dbf304633ad71881 (diff)
downloadsamba-cb5210043ddce5ba5bbc4962671aca17585e75dc.tar.gz
samba-cb5210043ddce5ba5bbc4962671aca17585e75dc.tar.xz
samba-cb5210043ddce5ba5bbc4962671aca17585e75dc.zip
add a gplv3 boilerplate to the example application for libctdb
(This used to be ctdb commit 53df35aff1e10201a38931bbb82fb266a38892c0)
-rw-r--r--ctdb/libctdb/tst.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/ctdb/libctdb/tst.c b/ctdb/libctdb/tst.c
index 8ab631dd2a..32dc3a040e 100644
--- a/ctdb/libctdb/tst.c
+++ b/ctdb/libctdb/tst.c
@@ -1,3 +1,22 @@
+/*
+ * Example program to demonstrate the libctdb api
+ *
+ * This program needs to be linked with libtdb.
+ * (libtdb and libtdb-devel packages)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ */
#include <stdio.h>
#include <stdint.h>
#include <poll.h>