21 lines
294 B
C
21 lines
294 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
#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;
|
||
|
}
|