diff options
author | Martin Willi <martin@strongswan.org> | 2006-09-27 14:15:49 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-09-27 14:15:49 +0000 |
commit | 151168f6eaf58e99cd436dee0f9751bb6c03b3ec (patch) | |
tree | bf202b927391849d1b7ac40d630e2eea32ac642c /src/libstrongswan/utils/identification.h | |
parent | 47f5027807c10d52d6122b9bba590e8ec6e02a95 (diff) | |
download | strongswan-151168f6eaf58e99cd436dee0f9751bb6c03b3ec.tar.bz2 strongswan-151168f6eaf58e99cd436dee0f9751bb6c03b3ec.tar.xz |
Diffstat (limited to 'src/libstrongswan/utils/identification.h')
-rw-r--r-- | src/libstrongswan/utils/identification.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/libstrongswan/utils/identification.h b/src/libstrongswan/utils/identification.h index 5b13d02a0..3df710c7c 100644 --- a/src/libstrongswan/utils/identification.h +++ b/src/libstrongswan/utils/identification.h @@ -28,6 +28,10 @@ #include "types.h" #define MAX_WILDCARDS 14 +/** + * printf() specifier to print a identification. + */ +#define IDENTIFICATION_PRINTF_SPEC 'D' typedef enum id_type_t id_type_t; @@ -162,16 +166,6 @@ struct identification_t { id_type_t (*get_type) (identification_t *this); /** - * @brief Get a string representation of this id. - * - * @warning Result points to internal data, do NOT free! - * - * @param this the identification_t object - * @return string - */ - char *(*get_string) (identification_t *this); - - /** * @brief Check if two identification_t objects are equal. * * @param this the identification_t object @@ -269,5 +263,4 @@ identification_t * identification_create_from_string(char *string); */ identification_t * identification_create_from_encoding(id_type_t type, chunk_t encoded); - #endif /* IDENTIFICATION_H_ */ |