summaryrefslogtreecommitdiff
path: root/src/joblist.h
blob: 4bf9b64953af49e0086bb8436c257e73dd7d3a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _JOB_LIST_H_
#define _JOB_LIST_H_

#include "base.h"

LI_EXPORT int joblist_append(server *srv, connection *con);
LI_EXPORT void joblist_free(server *srv, connections *joblist);

LI_EXPORT int fdwaitqueue_append(server *srv, connection *con);
LI_EXPORT void fdwaitqueue_free(server *srv, connections *fdwaitqueue);
LI_EXPORT connection* fdwaitqueue_unshift(server *srv, connections *fdwaitqueue);

#endif