network/queue: introduce manager_queue_request_full()
Currently it is not used, but will be used later.
This commit is contained in:
@@ -216,6 +216,23 @@ int link_queue_request_full(
|
||||
process, counter, netlink_handler, ret);
|
||||
}
|
||||
|
||||
int manager_queue_request_full(
|
||||
Manager *manager,
|
||||
RequestType type,
|
||||
void *userdata,
|
||||
mfree_func_t free_func,
|
||||
hash_func_t hash_func,
|
||||
compare_func_t compare_func,
|
||||
request_process_func_t process,
|
||||
unsigned *counter,
|
||||
request_netlink_handler_t netlink_handler,
|
||||
Request **ret) {
|
||||
|
||||
return request_new(manager, NULL, type,
|
||||
userdata, free_func, hash_func, compare_func,
|
||||
process, counter, netlink_handler, ret);
|
||||
}
|
||||
|
||||
int link_requeue_request(Link *link, Request *req, void *userdata, Request **ret) {
|
||||
assert(link);
|
||||
assert(req);
|
||||
|
||||
@@ -107,6 +107,18 @@ int link_queue_request_full(
|
||||
request_netlink_handler_t netlink_handler,
|
||||
Request **ret);
|
||||
|
||||
int manager_queue_request_full(
|
||||
Manager *manager,
|
||||
RequestType type,
|
||||
void *userdata,
|
||||
mfree_func_t free_func,
|
||||
hash_func_t hash_func,
|
||||
compare_func_t compare_func,
|
||||
request_process_func_t process,
|
||||
unsigned *counter,
|
||||
request_netlink_handler_t netlink_handler,
|
||||
Request **ret);
|
||||
|
||||
int link_requeue_request(Link *link, Request *req, void *userdata, Request **ret);
|
||||
|
||||
static inline int link_queue_request(
|
||||
|
||||
Reference in New Issue
Block a user