#ifndef __AUTHORIZATION_H #define __AUTHORIZATION_H #include typedef enum { auth_none, auth_implicit, /* implicit authorization rules (may differ for packages, ...) */ auth_xcap } authorization_type_t; typedef struct { authorization_type_t type; } auth_params_t; #include "watcher.h" #include "presentity.h" #include "qsa_interface.h" #include "../../parser/msg_parser.h" watcher_status_t authorize_internal_watcher(presentity_t *p, internal_pa_subscription_t *is); watcher_status_t authorize_watcher(presentity_t *p, watcher_t *w); #endif