summaryrefslogtreecommitdiffstats
path: root/src/account/indication_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/account/indication_common.h')
-rw-r--r--src/account/indication_common.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/account/indication_common.h b/src/account/indication_common.h
index 06eaa7b..b3fe9e6 100644
--- a/src/account/indication_common.h
+++ b/src/account/indication_common.h
@@ -18,13 +18,22 @@
* Authors: Roman Rakus <rrakus@redhat.com>
*/
+#include "LMI_Account.h"
+#include "LMI_Group.h"
+#include "LMI_Identity.h"
+
typedef struct {
int wd;
int inotify_fd;
struct timespec last_pwd, last_grp;
} AccountIndication;
-bool filter_checker(const CMPISelectExp *filter);
+static const char* account_allowed_classes[] = {
+ LMI_Account_ClassName,
+ LMI_Group_ClassName,
+ LMI_Identity_ClassName,
+ NULL};
+
bool watcher_init(AccountIndication *ind);
bool watcher(AccountIndication *ind, void **data);
void watcher_destroy(AccountIndication *ind);