logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

qb_ipcs_connection_auth_set - Set the permissions on and shared memory files so that both processes can

Description

Name

       qb_ipcs_connection_auth_set  -  Set the permissions on and shared memory files so that both processes can
       read and write to them.

Note

       this must be called within the qb_ipcs_connection_accept_fn() callback.

Params

connconnectioninstanceuidtheuseridtoset.gidthegroupidtoset.modethemodetoset.

See Also

qb_ipcs_response_send(3), qb_ipcs_ref(3), qb_ipcs_unref(3), qb_ipcs_service_context_get(3),
       qb_ipcs_connection_ref(3), qb_ipcs_connection_next_get(3), qb_ipcs_stats_get(3),
       qb_ipcs_connection_unref(3), qb_ipcs_context_set(3), qb_ipcs_poll_handlers_set(3),
       qb_ipcs_request_rate_limit(3), qb_ipcs_disconnect(3), qb_ipcs_connection_first_get(3),
       qb_ipcs_enforce_buffer_size(3), qb_ipcs_destroy(3), qb_ipcs_event_send(3),
       qb_ipcs_connection_stats_get_2(3), qb_ipcs_service_context_set(3), qb_ipcs_connection_stats_get(3),
       qb_ipcs_service_id_get(3), qb_ipcs_context_get(3), qb_ipcs_connection_get_buffer_size(3),
       qb_ipcs_create(3), qb_ipcs_run(3), qb_ipcs_event_sendv(3), qb_ipcs_connection_service_context_get(3),
       qb_ipcs_response_sendv(3)

Synopsis

#include<qb/qbipcs.h>voidqb_ipcs_connection_auth_set(
           qb_ipcs_connection_t*conn,  /* connection instance */
           uid_tuid,   /* the user id to set. */
           gid_tgid,   /* the group id to set. */
           mode_tmode   /* the mode to set.*/
       );

See Also