#ifndef _SVR_PROCESS_REQUEST_H #define _SVR_PROCESS_REQUEST_H #include "license_pbs.h" /* See here for the software license */ #include "batch_request.h" /* batch_request, rq_manage, rq_cpyfile, rq_rescq */ #ifdef ENABLE_UNIX_SOCKETS int get_creds(int sd, char *username, char *hostname); #endif /* END ENABLE_UNIX_SOCKETS */ int dispatch_request(int sfds, struct batch_request *request); static void svr_close_client(int sfds); struct batch_request *alloc_br(int type); static void close_quejob(int sfds); void free_br(struct batch_request *preq); static void freebr_manage(struct rq_manage *pmgr); static void freebr_cpyfile(struct rq_cpyfile *pcf); static void free_rescrq(struct rq_rescq *pq); #endif /* _SVR_PROCESS_REQUEST_H */