OpenDNSSEC-enforcer
2.0.2
enforcer
src
enforcer
enforce_task.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011 Surfnet
3
* Copyright (c) 2011 .SE (The Internet Infrastructure Foundation).
4
* Copyright (c) 2011 OpenDNSSEC AB (svb)
5
* All rights reserved.
6
*
7
* Redistribution and use in source and binary forms, with or without
8
* modification, are permitted provided that the following conditions
9
* are met:
10
* 1. Redistributions of source code must retain the above copyright
11
* notice, this list of conditions and the following disclaimer.
12
* 2. Redistributions in binary form must reproduce the above copyright
13
* notice, this list of conditions and the following disclaimer in the
14
* documentation and/or other materials provided with the distribution.
15
*
16
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
22
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24
* IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
26
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
*
28
*/
29
30
#ifndef _ENFORCER_ENFORCE_TASK_H_
31
#define _ENFORCER_ENFORCE_TASK_H_
32
33
#include "
daemon/cfg.h
"
34
#include "
daemon/engine.h
"
35
#include "
scheduler/task.h
"
36
37
time_t
perform_enforce_lock
(
int
sockfd,
engine_type
*
engine
,
int
bForce,
38
task_type
*task,
db_connection_t
*dbconn);
39
40
task_type
*
enforce_task
(
engine_type
*
engine
,
bool
all);
41
42
int
flush_enforce_task
(
engine_type
*
engine
,
bool
enforce_all
);
43
44
#endif
task_struct
Definition:
task.h:59
perform_enforce_lock
time_t perform_enforce_lock(int sockfd, engine_type *engine, int bForce, task_type *task, db_connection_t *dbconn)
Definition:
enforce_task.c:262
flush_enforce_task
int flush_enforce_task(engine_type *engine, bool enforce_all)
Definition:
enforce_task.c:323
engine.h
cfg.h
enf_task_ctx::enforce_all
int enforce_all
Definition:
enforce_task.c:279
enforce_task
task_type * enforce_task(engine_type *engine, bool all)
Definition:
enforce_task.c:305
task.h
engine_struct
Definition:
engine.h:52
enf_task_ctx::engine
engine_type * engine
Definition:
enforce_task.c:278
db_connection
Definition:
db_connection.h:46
Generated by
1.8.12