network/queue: introduce manager_queue_request_full()

Currently it is not used, but will be used later.
This commit is contained in:
Yu Watanabe
2024-08-20 20:49:32 +09:00
parent 7b2e07ca4c
commit 477defd774
2 changed files with 29 additions and 0 deletions
+17
View File
@@ -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);