Browse code

sercmd: renamed sources to kamcmd

Daniel-Constantin Mierla authored on 14/02/2015 15:04:38
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,34 +0,0 @@
1
-/*
2
- * $Id$
3
- *
4
- * sercmd GPL license, standard disclaimer and copyright
5
- */
6
-
7
-#ifndef __license_h_
8
-#define __license_h_
9
-
10
-#define COPYRIGHT  "Copyright 2006 iptelorg GmbH"
11
-#define DISCLAIMER \
12
-"This is free software with ABSOLUTELY NO WARRANTY.\n\
13
-For details type `warranty'."
14
-
15
-
16
-#define LICENSE \
17
-"    This program is free software; you can redistribute it and/or modify\n\
18
-    it under the terms of the GNU General Public License as published by\n\
19
-    the Free Software Foundation; either version 2 of the License , or\n\
20
-    (at your option) any later version.\n\
21
-\n\
22
-    This program is distributed in the hope that it will be useful,\n\
23
-    but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
24
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\
25
-    GNU General Public License for more details.\n\
26
-\n\
27
-    You should have received a copy of the GNU General Public License\n\
28
-    along with this program. If not, write to\n\
29
-\n\
30
-       The Free Software Foundation, Inc.\n\
31
-       51 Franklin Street, Fifth Floor,\n\
32
-       Boston, MA 02110-1301, USA."
33
-
34
-#endif
Browse code

- new command line tool which communicates with the ctl module (using the new binary protocol) - supports various connection methods: udp, tcp, unix sockets (datagram and stream) - can do basic reply formatting (see -f ) - supports both command line and interactive modes - if compiled with libreadline supports command completion in the interactive mode - depends only on libreadline/libedit if compiled with command completion support Example: sercmd -s unixd:/tmp/unix_dgram -f 'pid:%v desc:"%v"\n' core.ps sercmd # enters interactive mode, uses default unix:/tmp/ser_ctl socket sercmd ps sercmd who (see also sercmd -h and utils/sercmd/EXAMPLES)

Andrei Pelinescu-Onciul authored on 23/02/2006 20:07:45
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,34 @@
1
+/*
2
+ * $Id$
3
+ *
4
+ * sercmd GPL license, standard disclaimer and copyright
5
+ */
6
+
7
+#ifndef __license_h_
8
+#define __license_h_
9
+
10
+#define COPYRIGHT  "Copyright 2006 iptelorg GmbH"
11
+#define DISCLAIMER \
12
+"This is free software with ABSOLUTELY NO WARRANTY.\n\
13
+For details type `warranty'."
14
+
15
+
16
+#define LICENSE \
17
+"    This program is free software; you can redistribute it and/or modify\n\
18
+    it under the terms of the GNU General Public License as published by\n\
19
+    the Free Software Foundation; either version 2 of the License , or\n\
20
+    (at your option) any later version.\n\
21
+\n\
22
+    This program is distributed in the hope that it will be useful,\n\
23
+    but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
24
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\
25
+    GNU General Public License for more details.\n\
26
+\n\
27
+    You should have received a copy of the GNU General Public License\n\
28
+    along with this program. If not, write to\n\
29
+\n\
30
+       The Free Software Foundation, Inc.\n\
31
+       51 Franklin Street, Fifth Floor,\n\
32
+       Boston, MA 02110-1301, USA."
33
+
34
+#endif