removed trailing spaces ([[:space:]]+$)
[strongswan.git] / src / libstrongswan / crypto / proposal / proposal_keywords.h
1 /* proposal keywords
2 * Copyright (C) 2009 Andreas Steffen
3 * Hochschule fuer Technik Rapperswil, Switzerland
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 #ifndef _PROPOSAL_KEYWORDS_H_
17 #define _PROPOSAL_KEYWORDS_H_
18
19 #include <crypto/transform.h>
20
21 typedef struct proposal_token proposal_token_t;
22
23 struct proposal_token {
24 char *name;
25 transform_type_t type;
26 u_int16_t algorithm;
27 u_int16_t keysize;
28 };
29
30 extern const proposal_token_t* proposal_get_token(register const char *str,
31 register unsigned int len);
32
33 #endif /* _PROPOSAL_KEYWORDS_H_ */
34