diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9cfaec5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +exporter diff --git a/exporter.c b/exporter.c new file mode 100644 index 0000000..329f41f --- /dev/null +++ b/exporter.c @@ -0,0 +1,20 @@ +#include +#include + +#define USER "odoo" +#define HTTP_PORT 9402 +#define INTERVAL 10 + +int +main(int argc, char **argv) +{ + if (argc != 2) + { + fprintf(stdout, + "Invalid number of arguments. Usage: %s [dbname]\n", + argv[0]); + exit(EXIT_FAILURE); + } + + return EXIT_SUCCESS; +}