updated Doxyfile
[strongswan.git] / src / charon / processing / jobs / process_message_job.h
1 /*
2 * Copyright (C) 2005-2007 Martin Willi
3 * Copyright (C) 2005 Jan Hutter
4 * Hochschule fuer Technik Rapperswil
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 *
16 * $Id$
17 */
18
19 /**
20 * @defgroup process_message_job process_message_job
21 * @{ @ingroup jobs
22 */
23
24 #ifndef PROCESS_MESSAGE_JOB_H_
25 #define PROCESS_MESSAGE_JOB_H_
26
27 typedef struct process_message_job_t process_message_job_t;
28
29 #include <library.h>
30 #include <encoding/message.h>
31 #include <processing/jobs/job.h>
32
33 /**
34 * Class representing an PROCESS_MESSAGE job.
35 */
36 struct process_message_job_t {
37 /**
38 * implements job_t interface
39 */
40 job_t job_interface;
41 };
42
43 /**
44 * Creates a job of type PROCESS_MESSAGE.
45 *
46 * @param message message to process
47 * @return created process_message_job_t object
48 */
49 process_message_job_t *process_message_job_create(message_t *message);
50
51 #endif /** PROCESS_MESSAGE_JOB_H_ @}*/