diff options
author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-07-10 15:15:18 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-07-10 15:15:18 -0400 |
commit | 457cf54b708015520a8566088930c9c4f5bd6677 (patch) | |
tree | 3fc77fe5bd9e01a7a9dcfe0a96f710fc3f6a6d13 /src/backend.h | |
parent | 2449787acdf32013ea3b102e272e704f4dbd9517 (diff) | |
download | slapi-nis-457cf54b708015520a8566088930c9c4f5bd6677.tar.gz slapi-nis-457cf54b708015520a8566088930c9c4f5bd6677.tar.xz slapi-nis-457cf54b708015520a8566088930c9c4f5bd6677.zip |
- add a helper for checking if we've been called by ourselves
- if a search was initiated by us, don't bother (and also don't deadlock)
Diffstat (limited to 'src/backend.h')
-rw-r--r-- | src/backend.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backend.h b/src/backend.h index bd44fc7..bf7bb40 100644 --- a/src/backend.h +++ b/src/backend.h @@ -71,4 +71,9 @@ void backend_set_config_free_config(struct backend_shr_set_data *set_data); * requiring a restart. */ void backend_update_params(struct plugin_state *state); +/* Check if the operation which this pblock describes was initiated by the + * current plugin. */ +bool_t backend_shr_is_caller(struct plugin_state *state, + struct slapi_pblock *pb); + #endif |