23 int main(
int argc,
char** argv)
30 if(PQstatus(
db_conn) == CONNECTION_OK)
The main FOSSology C library.
void fo_scheduler_disconnect(int retcode)
Disconnect the scheduler connection.
char * fo_scheduler_next()
Get the next data to process from the scheduler.
void fo_scheduler_connect(int *argc, char **argv, PGconn **db_conn)
Establish a connection between an agent and the scheduler.
PGconn * db_conn
The connection to Database.