From 3407655884214b9b66691e3a4ea19f227d829415 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan@rename-it.nl> Date: Fri, 21 Aug 2009 16:24:07 +0200 Subject: [PATCH] Notify (deprecated): removed spurious source file. --- src/lib-sieve/plugins/notify/ext-enotify.c | 88 ---------------------- 1 file changed, 88 deletions(-) delete mode 100644 src/lib-sieve/plugins/notify/ext-enotify.c diff --git a/src/lib-sieve/plugins/notify/ext-enotify.c b/src/lib-sieve/plugins/notify/ext-enotify.c deleted file mode 100644 index 2ed08298d..000000000 --- a/src/lib-sieve/plugins/notify/ext-enotify.c +++ /dev/null @@ -1,88 +0,0 @@ -/* Copyright (c) 2002-2009 Dovecot Sieve authors, see the included COPYING file - */ - -/* Extension enotify - * ------------------ - * - * Authors: Stephan Bosch - * Specification: RFC 5435 - * Implementation: full - * Status: testing - * - */ - -#include <stdio.h> - -#include "sieve-common.h" - -#include "sieve-code.h" -#include "sieve-extensions.h" -#include "sieve-actions.h" -#include "sieve-commands.h" -#include "sieve-validator.h" -#include "sieve-generator.h" -#include "sieve-interpreter.h" -#include "sieve-result.h" - -#include "sieve-ext-variables.h" - -#include "ext-enotify-common.h" - -/* - * Operations - */ - -const struct sieve_operation *ext_enotify_operations[] = { - ¬ify_operation, - &valid_notify_method_operation, - ¬ify_method_capability_operation -}; - -/* - * Extension - */ - -static bool ext_enotify_load(void); -static void ext_enotify_unload(void); -static bool ext_enotify_validator_load(struct sieve_validator *valdtr); - -static int ext_my_id = -1; - -const struct sieve_extension enotify_extension = { - "enotify", - &ext_my_id, - ext_enotify_load, - ext_enotify_unload, - ext_enotify_validator_load, - NULL, NULL, NULL, NULL, NULL, - SIEVE_EXT_DEFINE_OPERATIONS(ext_enotify_operations), - SIEVE_EXT_DEFINE_OPERAND(encodeurl_operand) -}; - -static bool ext_enotify_load(void) -{ - ext_enotify_methods_init(); - - sieve_extension_capabilities_register(¬ify_capabilities); - - return TRUE; -} - -static void ext_enotify_unload(void) -{ - ext_enotify_methods_deinit(); -} - -static bool ext_enotify_validator_load(struct sieve_validator *valdtr) -{ - /* Register new commands */ - sieve_validator_register_command(valdtr, ¬ify_command); - sieve_validator_register_command(valdtr, &valid_notify_method_test); - sieve_validator_register_command(valdtr, ¬ify_method_capability_test); - - /* Register new set modifier for variables extension */ - sieve_variables_modifier_register(valdtr, &encodeurl_modifier); - - return TRUE; -} - -- GitLab