aboutsummaryrefslogtreecommitdiff
path: root/vendor/voclient/voapps/task/votools.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /vendor/voclient/voapps/task/votools.h
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'vendor/voclient/voapps/task/votools.h')
-rw-r--r--vendor/voclient/voapps/task/votools.h79
1 files changed, 79 insertions, 0 deletions
diff --git a/vendor/voclient/voapps/task/votools.h b/vendor/voclient/voapps/task/votools.h
new file mode 100644
index 00000000..3e39ef8d
--- /dev/null
+++ b/vendor/voclient/voapps/task/votools.h
@@ -0,0 +1,79 @@
+/**
+ * VOTOOLS.H -- VOTools Package Declarations.
+ *
+ * @file votools.h
+ * @author Mike Fitzpatrick
+ * @date 12/13/12
+ *
+ * @brief VOTools Package Declarations.
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+/* Run as a detached child process?
+*/
+#define RUN_DETACHED 0
+
+
+#define PKG_NAME "votools"
+
+#include "voApps.h"
+
+Task *app = (Task *) NULL;
+
+
+/* Task entry-point declarations.
+ */
+extern int vosamp (int argc, char **argv, size_t *len, void **result);
+
+extern int votcat (int argc, char **argv, size_t *len, void **result);
+extern int votcnv (int argc, char **argv, size_t *len, void **result);
+extern int votget (int argc, char **argv, size_t *len, void **result);
+extern int votinfo (int argc, char **argv, size_t *len, void **result);
+extern int votjoin (int argc, char **argv, size_t *len, void **result);
+extern int votpos (int argc, char **argv, size_t *len, void **result);
+extern int votsort (int argc, char **argv, size_t *len, void **result);
+extern int votsplit (int argc, char **argv, size_t *len, void **result);
+extern int votstat (int argc, char **argv, size_t *len, void **result);
+
+extern int vosesame (int argc, char **argv, size_t *len, void **result);
+
+extern int vodata (int argc, char **argv, size_t *len, void **result);
+extern int voatlas (int argc, char **argv, size_t *len, void **result);
+extern int voiminfo (int argc, char **argv, size_t *len, void **result);
+extern int vosloanspec (int argc, char **argv, size_t *len, void **result);
+
+extern int voregistry (int argc, char **argv, size_t *len, void **result);
+
+
+/* Task application table. Applications must be declared here to be found
+ * and used with the generic main().
+ */
+
+Task voApps[] = {
+ { "votcat", votcat }, /* VOTable apps */
+ { "votcnv", votcnv },
+ { "votget", votget },
+ { "votinfo", votinfo },
+ { "votjoin", votjoin },
+ { "votpos", votpos },
+ { "votsort", votsort },
+ { "votsplit", votsplit },
+ { "votstat", votstat },
+
+ { "vosamp", vosamp }, /* SAMP messaging */
+
+ { "vosesame", vosesame }, /* VO Name Resolution */
+
+ { "vodata", vodata }, /* VO Data access apps */
+ { "voatlas", voatlas },
+ { "voiminfo", voiminfo },
+ { "vosloanspec", vosloanspec },
+
+ { "voregistry", voregistry }, /* VO Registry apps */
+ { NULL, NULL }
+};
+
+