mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipa-cldap: Implement worker thread.
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
|
||||
#define IPA_PLUGIN_NAME IPA_CLDAP_PLUGIN_NAME
|
||||
#define CLDAP_PORT 389
|
||||
#define MAX_DG_SIZE 4096
|
||||
|
||||
struct ipa_cldap_ctx {
|
||||
Slapi_ComponentId *plugin_id;
|
||||
@@ -67,6 +68,16 @@ struct ipa_cldap_ctx {
|
||||
int sd;
|
||||
};
|
||||
|
||||
struct ipa_cldap_req {
|
||||
int fd;
|
||||
|
||||
struct sockaddr_storage ss;
|
||||
socklen_t ss_len;
|
||||
|
||||
char dgram[MAX_DG_SIZE];
|
||||
size_t dgsize;
|
||||
};
|
||||
|
||||
void *ipa_cldap_worker(struct ipa_cldap_ctx *ctx);
|
||||
|
||||
#endif /* _IPA_CLDAP_H_ */
|
||||
|
||||
Reference in New Issue
Block a user