summaryrefslogtreecommitdiffstats
path: root/dcop/testdcopc.c
diff options
context:
space:
mode:
Diffstat (limited to 'dcop/testdcopc.c')
-rw-r--r--dcop/testdcopc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/dcop/testdcopc.c b/dcop/testdcopc.c
new file mode 100644
index 000000000..1a340a683
--- /dev/null
+++ b/dcop/testdcopc.c
@@ -0,0 +1,11 @@
+#include <dcopc.h>
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+ const char *name;
+
+ name = dcop_register("test", 0);
+
+ printf("dcop_register returns \"%s\"\n", name);
+}