diff options
Diffstat (limited to 'src')
295 files changed, 338 insertions, 345 deletions
diff --git a/src/charon/bus/bus.h b/src/charon/bus/bus.h index 43a24ce61..90ad2017f 100644 --- a/src/charon/bus/bus.h +++ b/src/charon/bus/bus.h @@ -350,4 +350,4 @@ struct bus_t { */ bus_t *bus_create(); -#endif /* BUS_H_ @} */ +#endif /** BUS_H_ @}*/ diff --git a/src/charon/bus/listeners/file_logger.h b/src/charon/bus/listeners/file_logger.h index 3603ca01f..813d74976 100644 --- a/src/charon/bus/listeners/file_logger.h +++ b/src/charon/bus/listeners/file_logger.h @@ -59,4 +59,4 @@ struct file_logger_t { */ file_logger_t *file_logger_create(FILE *out); -#endif /* FILE_LOGGER_H_ @} */ +#endif /** FILE_LOGGER_H_ @}*/ diff --git a/src/charon/bus/listeners/sys_logger.h b/src/charon/bus/listeners/sys_logger.h index e746fce82..512480044 100644 --- a/src/charon/bus/listeners/sys_logger.h +++ b/src/charon/bus/listeners/sys_logger.h @@ -61,4 +61,4 @@ struct sys_logger_t { */ sys_logger_t *sys_logger_create(int facility); -#endif /* SYS_LOGGER_H_ @} */ +#endif /** SYS_LOGGER_H_ @}*/ diff --git a/src/charon/config/attributes/attribute_manager.h b/src/charon/config/attributes/attribute_manager.h index d2b69e02d..aef6e7b6e 100644 --- a/src/charon/config/attributes/attribute_manager.h +++ b/src/charon/config/attributes/attribute_manager.h @@ -80,4 +80,4 @@ struct attribute_manager_t { */ attribute_manager_t *attribute_manager_create(); -#endif /* ATTRIBUTE_MANAGER_H_ @}*/ +#endif /** ATTRIBUTE_MANAGER_H_ @}*/ diff --git a/src/charon/config/attributes/attribute_provider.h b/src/charon/config/attributes/attribute_provider.h index 9810c0354..5d563e86b 100644 --- a/src/charon/config/attributes/attribute_provider.h +++ b/src/charon/config/attributes/attribute_provider.h @@ -58,4 +58,4 @@ struct attribute_provider_t { char *pool, host_t *address, identification_t *id); }; -#endif /* ATTRIBUTE_PROVIDER_H_ @}*/ +#endif /** ATTRIBUTE_PROVIDER_H_ @}*/ diff --git a/src/charon/config/backend.h b/src/charon/config/backend.h index 96e76e05f..4673d3984 100644 --- a/src/charon/config/backend.h +++ b/src/charon/config/backend.h @@ -72,4 +72,4 @@ struct backend_t { peer_cfg_t *(*get_peer_cfg_by_name)(backend_t *this, char *name); }; -#endif /* BACKEND_H_ @} */ +#endif /** BACKEND_H_ @}*/ diff --git a/src/charon/config/backend_manager.h b/src/charon/config/backend_manager.h index 7157499ce..1fd921c48 100644 --- a/src/charon/config/backend_manager.h +++ b/src/charon/config/backend_manager.h @@ -119,5 +119,4 @@ struct backend_manager_t { */ backend_manager_t* backend_manager_create(void); -#endif /*BACKEND_MANAGER_H_ @} */ - +#endif /** BACKEND_MANAGER_H_ @}*/ diff --git a/src/charon/config/child_cfg.h b/src/charon/config/child_cfg.h index ddd480704..3b9d746b2 100644 --- a/src/charon/config/child_cfg.h +++ b/src/charon/config/child_cfg.h @@ -234,10 +234,10 @@ struct child_cfg_t { /** * Sets two options needed for Mobile IPv6 interoperability * - * @proxy_mode use IPsec transport proxy mode (default FALSE) - * @install_policy install IPsec kernel policies (default TRUE) + * @param proxy_mode use IPsec transport proxy mode (default FALSE) + * @param install_policy install IPsec kernel policies (default TRUE) */ - void (*set_mipv6_options)(child_cfg_t *this, bool proxy_mod, + void (*set_mipv6_options)(child_cfg_t *this, bool proxy_mode, bool install_policy); /** @@ -299,4 +299,4 @@ child_cfg_t *child_cfg_create(char *name, u_int32_t lifetime, char *updown, bool hostaccess, ipsec_mode_t mode, action_t dpd_action, action_t close_action, bool ipcomp); -#endif /* CHILD_CFG_H_ @} */ +#endif /** CHILD_CFG_H_ @}*/ diff --git a/src/charon/config/ike_cfg.h b/src/charon/config/ike_cfg.h index e84246bac..c1963f90a 100644 --- a/src/charon/config/ike_cfg.h +++ b/src/charon/config/ike_cfg.h @@ -133,7 +133,6 @@ struct ike_cfg_t { * * Supplied hosts become owned by ike_cfg, the name gets cloned. * - * @param name ike_cfg identifier * @param certreq TRUE to send a certificate request * @param force_encap enforce UDP encapsulation by faking NATD notify * @param me address/DNS name of local peer @@ -143,4 +142,4 @@ struct ike_cfg_t { ike_cfg_t *ike_cfg_create(bool certreq, bool force_encap, char *me, char *other); -#endif /* IKE_CFG_H_ @} */ +#endif /** IKE_CFG_H_ @}*/ diff --git a/src/charon/config/peer_cfg.h b/src/charon/config/peer_cfg.h index d88feacda..3a776927e 100644 --- a/src/charon/config/peer_cfg.h +++ b/src/charon/config/peer_cfg.h @@ -340,7 +340,6 @@ struct peer_cfg_t { * @param reauth_time timeout before starting reauthentication * @param jitter_time timerange to randomly substract from rekey/reauth time * @param over_time maximum overtime before closing a rekeying/reauth SA - * @param reauth sould be done reauthentication instead of rekeying? * @param mobike use MOBIKE (RFC4555) if peer supports it * @param dpd DPD check interval, 0 to disable * @param virtual_ip virtual IP for local host, or NULL @@ -350,7 +349,7 @@ struct peer_cfg_t { * @param peer_id ID that identifies our peer at the mediation server * @return peer_cfg_t object */ -peer_cfg_t *peer_cfg_create(char *name, u_int ikev_version, ike_cfg_t *ike_cfg, +peer_cfg_t *peer_cfg_create(char *name, u_int ike_version, ike_cfg_t *ike_cfg, identification_t *my_id, identification_t *other_id, cert_policy_t cert_policy, unique_policy_t unique, u_int32_t keyingtries, u_int32_t rekey_time, @@ -360,4 +359,4 @@ peer_cfg_t *peer_cfg_create(char *name, u_int ikev_version, ike_cfg_t *ike_cfg, bool mediation, peer_cfg_t *mediated_by, identification_t *peer_id); -#endif /* PEER_CFG_H_ @} */ +#endif /** PEER_CFG_H_ @}*/ diff --git a/src/charon/config/proposal.h b/src/charon/config/proposal.h index 89adf350c..ee163e5e9 100644 --- a/src/charon/config/proposal.h +++ b/src/charon/config/proposal.h @@ -243,4 +243,4 @@ proposal_t *proposal_create_from_string(protocol_id_t protocol, const char *algs int proposal_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec, const void *const *args); -#endif /* PROPOSAL_H_ @} */ +#endif /** PROPOSAL_H_ @}*/ diff --git a/src/charon/config/traffic_selector.h b/src/charon/config/traffic_selector.h index 42d188157..3236391d1 100644 --- a/src/charon/config/traffic_selector.h +++ b/src/charon/config/traffic_selector.h @@ -264,6 +264,8 @@ traffic_selector_t *traffic_selector_create_from_bytes( * * @param net subnet to use * @param netbits size of the subnet, as used in e.g. 192.168.0.0/24 notation + * @param protocol protocol for this ts, such as TCP or UDP + * @param port port number, host order * @return * - traffic_selector_t object * - NULL if address family of net not supported @@ -301,4 +303,4 @@ traffic_selector_t *traffic_selector_create_dynamic(u_int8_t protocol, int traffic_selector_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec, const void *const *args); -#endif /* TRAFFIC_SELECTOR_H_ @} */ +#endif /** TRAFFIC_SELECTOR_H_ @}*/ diff --git a/src/charon/control/controller.h b/src/charon/control/controller.h index 083b26f27..879376dd8 100644 --- a/src/charon/control/controller.h +++ b/src/charon/control/controller.h @@ -171,4 +171,4 @@ struct controller_t { */ controller_t *controller_create(void); -#endif /* CONTROLLER_H_ @} */ +#endif /** CONTROLLER_H_ @}*/ diff --git a/src/charon/credentials/auth_info.h b/src/charon/credentials/auth_info.h index 161698a65..f480a6e08 100644 --- a/src/charon/credentials/auth_info.h +++ b/src/charon/credentials/auth_info.h @@ -195,4 +195,4 @@ struct auth_info_t { */ auth_info_t *auth_info_create(); -#endif /* AUTH_INFO_H_ @}*/ +#endif /** AUTH_INFO_H_ @}*/ diff --git a/src/charon/credentials/credential_manager.h b/src/charon/credentials/credential_manager.h index 828312fd8..23f43cf55 100644 --- a/src/charon/credentials/credential_manager.h +++ b/src/charon/credentials/credential_manager.h @@ -204,4 +204,4 @@ struct credential_manager_t { */ credential_manager_t *credential_manager_create(); -#endif /* CREDENTIAL_MANAGER_H_ @} */ +#endif /** CREDENTIAL_MANAGER_H_ @}*/ diff --git a/src/charon/credentials/credential_set.h b/src/charon/credentials/credential_set.h index 6a973e991..ea5c782b2 100644 --- a/src/charon/credentials/credential_set.h +++ b/src/charon/credentials/credential_set.h @@ -107,4 +107,4 @@ struct credential_set_t { void (*cache_cert)(credential_set_t *this, certificate_t *cert); }; -#endif /* CREDENTIAL_SET_H_ @} */ +#endif /** CREDENTIAL_SET_H_ @}*/ diff --git a/src/charon/credentials/sets/auth_info_wrapper.h b/src/charon/credentials/sets/auth_info_wrapper.h index c382e9870..9186715f0 100644 --- a/src/charon/credentials/sets/auth_info_wrapper.h +++ b/src/charon/credentials/sets/auth_info_wrapper.h @@ -52,4 +52,4 @@ struct auth_info_wrapper_t { */ auth_info_wrapper_t *auth_info_wrapper_create(auth_info_t *auth); -#endif /* AUTH_INFO_WRAPPER_H_ @}*/ +#endif /** AUTH_INFO_WRAPPER_H_ @}*/ diff --git a/src/charon/credentials/sets/cert_cache.h b/src/charon/credentials/sets/cert_cache.h index 281189d53..40e38e913 100644 --- a/src/charon/credentials/sets/cert_cache.h +++ b/src/charon/credentials/sets/cert_cache.h @@ -70,4 +70,4 @@ struct cert_cache_t { */ cert_cache_t *cert_cache_create(); -#endif /* CERT_CACHE_H_ @}*/ +#endif /** CERT_CACHE_H_ @}*/ diff --git a/src/charon/credentials/sets/ocsp_response_wrapper.h b/src/charon/credentials/sets/ocsp_response_wrapper.h index 6d32c2ca8..068035884 100644 --- a/src/charon/credentials/sets/ocsp_response_wrapper.h +++ b/src/charon/credentials/sets/ocsp_response_wrapper.h @@ -52,4 +52,4 @@ struct ocsp_response_wrapper_t { */ ocsp_response_wrapper_t *ocsp_response_wrapper_create(ocsp_response_t *response); -#endif /* OCSP_RESPONSE_WRAPPER_H_ @}*/ +#endif /** OCSP_RESPONSE_WRAPPER_H_ @}*/ diff --git a/src/charon/daemon.h b/src/charon/daemon.h index d93caa1b1..7277ae917 100644 --- a/src/charon/daemon.h +++ b/src/charon/daemon.h @@ -330,4 +330,4 @@ struct daemon_t { */ extern daemon_t *charon; -#endif /*DAEMON_H_ @} */ +#endif /** DAEMON_H_ @}*/ diff --git a/src/charon/encoding/generator.h b/src/charon/encoding/generator.h index 2b86ffbe3..e23f8ac08 100644 --- a/src/charon/encoding/generator.h +++ b/src/charon/encoding/generator.h @@ -84,4 +84,4 @@ struct generator_t { */ generator_t *generator_create(void); -#endif /*GENERATOR_H_ @} */ +#endif /** GENERATOR_H_ @}*/ diff --git a/src/charon/encoding/message.h b/src/charon/encoding/message.h index a7637b90c..fcd206cb5 100644 --- a/src/charon/encoding/message.h +++ b/src/charon/encoding/message.h @@ -353,4 +353,4 @@ message_t * message_create_from_packet(packet_t *packet); */ message_t * message_create(void); -#endif /*MESSAGE_H_ @} */ +#endif /** MESSAGE_H_ @}*/ diff --git a/src/charon/encoding/parser.h b/src/charon/encoding/parser.h index d3bcbc20f..f941c5e97 100644 --- a/src/charon/encoding/parser.h +++ b/src/charon/encoding/parser.h @@ -78,4 +78,4 @@ struct parser_t { */ parser_t *parser_create(chunk_t data); -#endif /*PARSER_H_ @} */ +#endif /** PARSER_H_ @}*/ diff --git a/src/charon/encoding/payloads/auth_payload.h b/src/charon/encoding/payloads/auth_payload.h index 6e0596c4b..cbbb9e79b 100644 --- a/src/charon/encoding/payloads/auth_payload.h +++ b/src/charon/encoding/payloads/auth_payload.h @@ -101,4 +101,4 @@ struct auth_payload_t { */ auth_payload_t *auth_payload_create(void); -#endif /* AUTH_PAYLOAD_H_ @} */ +#endif /** AUTH_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/cert_payload.h b/src/charon/encoding/payloads/cert_payload.h index 5a084cdb0..4758214ab 100644 --- a/src/charon/encoding/payloads/cert_payload.h +++ b/src/charon/encoding/payloads/cert_payload.h @@ -115,7 +115,6 @@ struct cert_payload_t { /** * Creates an empty certificate payload. * - * @param cert certificate to embed * @return cert_payload_t object */ cert_payload_t *cert_payload_create(void); @@ -137,4 +136,4 @@ cert_payload_t *cert_payload_create_from_cert(certificate_t *cert); */ cert_payload_t *cert_payload_create_from_hash_and_url(chunk_t hash, char *url); -#endif /* CERT_PAYLOAD_H_ @} */ +#endif /** CERT_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/certreq_payload.h b/src/charon/encoding/payloads/certreq_payload.h index 9ef4fb9d9..6309f28ea 100644 --- a/src/charon/encoding/payloads/certreq_payload.h +++ b/src/charon/encoding/payloads/certreq_payload.h @@ -89,4 +89,4 @@ certreq_payload_t *certreq_payload_create(void); */ certreq_payload_t *certreq_payload_create_type(certificate_type_t type); -#endif /* CERTREQ_PAYLOAD_H_ @} */ +#endif /** CERTREQ_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/configuration_attribute.h b/src/charon/encoding/payloads/configuration_attribute.h index 9d364e7b6..b54d2dc60 100644 --- a/src/charon/encoding/payloads/configuration_attribute.h +++ b/src/charon/encoding/payloads/configuration_attribute.h @@ -127,4 +127,4 @@ struct configuration_attribute_t { */ configuration_attribute_t *configuration_attribute_create(void); -#endif /* CONFIGURATION_ATTRIBUTE_H_ @} */ +#endif /** CONFIGURATION_ATTRIBUTE_H_ @}*/ diff --git a/src/charon/encoding/payloads/cp_payload.h b/src/charon/encoding/payloads/cp_payload.h index d2e94197c..5128d62b3 100644 --- a/src/charon/encoding/payloads/cp_payload.h +++ b/src/charon/encoding/payloads/cp_payload.h @@ -110,4 +110,4 @@ struct cp_payload_t { */ cp_payload_t *cp_payload_create(void); -#endif /*CP_PAYLOAD_H_ @} */ +#endif /** CP_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/delete_payload.h b/src/charon/encoding/payloads/delete_payload.h index 150a87470..146d31917 100644 --- a/src/charon/encoding/payloads/delete_payload.h +++ b/src/charon/encoding/payloads/delete_payload.h @@ -83,4 +83,4 @@ struct delete_payload_t { */ delete_payload_t *delete_payload_create(protocol_id_t protocol_id); -#endif /* DELETE_PAYLOAD_H_ @} */ +#endif /** DELETE_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/eap_payload.h b/src/charon/encoding/payloads/eap_payload.h index fe723ef63..7ba7181e1 100644 --- a/src/charon/encoding/payloads/eap_payload.h +++ b/src/charon/encoding/payloads/eap_payload.h @@ -128,4 +128,4 @@ eap_payload_t *eap_payload_create_code(eap_code_t code, u_int8_t identifier); */ eap_payload_t *eap_payload_create_nak(u_int8_t identifier); -#endif /* EAP_PAYLOAD_H_ @} */ +#endif /** EAP_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/encodings.h b/src/charon/encoding/payloads/encodings.h index b4658e285..e71cd361f 100644 --- a/src/charon/encoding/payloads/encodings.h +++ b/src/charon/encoding/payloads/encodings.h @@ -527,4 +527,4 @@ struct encoding_rule_t { u_int32_t offset; }; -#endif /*ENCODINGS_H_ @} */ +#endif /** ENCODINGS_H_ @}*/ diff --git a/src/charon/encoding/payloads/encryption_payload.h b/src/charon/encoding/payloads/encryption_payload.h index 817006409..e82098040 100644 --- a/src/charon/encoding/payloads/encryption_payload.h +++ b/src/charon/encoding/payloads/encryption_payload.h @@ -172,4 +172,4 @@ struct encryption_payload_t { */ encryption_payload_t *encryption_payload_create(void); -#endif /*ENCRYPTION_PAYLOAD_H_ @} */ +#endif /** ENCRYPTION_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/endpoint_notify.h b/src/charon/encoding/payloads/endpoint_notify.h index d236c95d9..488db899c 100644 --- a/src/charon/encoding/payloads/endpoint_notify.h +++ b/src/charon/encoding/payloads/endpoint_notify.h @@ -172,4 +172,4 @@ endpoint_notify_t *endpoint_notify_create_from_host(me_endpoint_type_t type, */ endpoint_notify_t *endpoint_notify_create_from_payload(notify_payload_t *notify); -#endif /*ENDPOINT_NOTIFY_H_ @} */ +#endif /** ENDPOINT_NOTIFY_H_ @}*/ diff --git a/src/charon/encoding/payloads/id_payload.h b/src/charon/encoding/payloads/id_payload.h index a45b0a14c..69aef031a 100644 --- a/src/charon/encoding/payloads/id_payload.h +++ b/src/charon/encoding/payloads/id_payload.h @@ -121,4 +121,4 @@ id_payload_t *id_payload_create(payload_type_t payload_type); id_payload_t *id_payload_create_from_identification(payload_type_t payload_type, identification_t *identification); -#endif /* ID_PAYLOAD_H_ @} */ +#endif /** ID_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/ike_header.h b/src/charon/encoding/payloads/ike_header.h index 06ee328a8..897deaf91 100644 --- a/src/charon/encoding/payloads/ike_header.h +++ b/src/charon/encoding/payloads/ike_header.h @@ -227,4 +227,4 @@ struct ike_header_t { */ ike_header_t *ike_header_create(void); -#endif /*IKE_HEADER_H_ @} */ +#endif /** IKE_HEADER_H_ @}*/ diff --git a/src/charon/encoding/payloads/ke_payload.h b/src/charon/encoding/payloads/ke_payload.h index 7cd2448ba..59ec77f15 100644 --- a/src/charon/encoding/payloads/ke_payload.h +++ b/src/charon/encoding/payloads/ke_payload.h @@ -103,4 +103,4 @@ ke_payload_t *ke_payload_create(void); ke_payload_t *ke_payload_create_from_diffie_hellman( diffie_hellman_t *diffie_hellman); -#endif /* KE_PAYLOAD_H_ @} */ +#endif /** KE_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/nonce_payload.h b/src/charon/encoding/payloads/nonce_payload.h index 9cb758325..476b7fca0 100644 --- a/src/charon/encoding/payloads/nonce_payload.h +++ b/src/charon/encoding/payloads/nonce_payload.h @@ -77,4 +77,4 @@ struct nonce_payload_t { */ nonce_payload_t *nonce_payload_create(void); -#endif /*NONCE_PAYLOAD_H_ @} */ +#endif /** NONCE_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/notify_payload.h b/src/charon/encoding/payloads/notify_payload.h index 70ad47b4b..c1379af11 100644 --- a/src/charon/encoding/payloads/notify_payload.h +++ b/src/charon/encoding/payloads/notify_payload.h @@ -215,4 +215,4 @@ notify_payload_t *notify_payload_create(void); notify_payload_t *notify_payload_create_from_protocol_and_type( protocol_id_t protocol_id, notify_type_t type); -#endif /*NOTIFY_PAYLOAD_H_ @} */ +#endif /** NOTIFY_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/payload.h b/src/charon/encoding/payloads/payload.h index 4f8cb3302..c9ffd70da 100644 --- a/src/charon/encoding/payloads/payload.h +++ b/src/charon/encoding/payloads/payload.h @@ -271,4 +271,4 @@ struct payload_t { */ payload_t *payload_create(payload_type_t type); -#endif /*PAYLOAD_H_ @} */ +#endif /** PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/proposal_substructure.h b/src/charon/encoding/payloads/proposal_substructure.h index c3a57ab22..71d02d4e7 100644 --- a/src/charon/encoding/payloads/proposal_substructure.h +++ b/src/charon/encoding/payloads/proposal_substructure.h @@ -172,4 +172,4 @@ proposal_substructure_t *proposal_substructure_create(void); proposal_substructure_t *proposal_substructure_create_from_proposal( proposal_t *proposal); -#endif /*PROPOSAL_SUBSTRUCTURE_H_ @} */ +#endif /** PROPOSAL_SUBSTRUCTURE_H_ @}*/ diff --git a/src/charon/encoding/payloads/sa_payload.h b/src/charon/encoding/payloads/sa_payload.h index 97beecf4e..0323524a2 100644 --- a/src/charon/encoding/payloads/sa_payload.h +++ b/src/charon/encoding/payloads/sa_payload.h @@ -114,4 +114,4 @@ sa_payload_t *sa_payload_create_from_proposal_list(linked_list_t *proposals); */ sa_payload_t *sa_payload_create_from_proposal(proposal_t *proposal); -#endif /*SA_PAYLOAD_H_ @} */ +#endif /** SA_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/traffic_selector_substructure.h b/src/charon/encoding/payloads/traffic_selector_substructure.h index 1355b6599..1cc134655 100644 --- a/src/charon/encoding/payloads/traffic_selector_substructure.h +++ b/src/charon/encoding/payloads/traffic_selector_substructure.h @@ -150,4 +150,4 @@ traffic_selector_substructure_t *traffic_selector_substructure_create(void); traffic_selector_substructure_t *traffic_selector_substructure_create_from_traffic_selector( traffic_selector_t *traffic_selector); -#endif /* /TRAFFIC_SELECTOR_SUBSTRUCTURE_H_ @} */ +#endif /** TRAFFIC_SELECTOR_SUBSTRUCTURE_H_ @}*/ diff --git a/src/charon/encoding/payloads/transform_attribute.h b/src/charon/encoding/payloads/transform_attribute.h index 32039cbaf..7447dc901 100644 --- a/src/charon/encoding/payloads/transform_attribute.h +++ b/src/charon/encoding/payloads/transform_attribute.h @@ -131,4 +131,4 @@ transform_attribute_t *transform_attribute_create(void); */ transform_attribute_t *transform_attribute_create_key_length(u_int16_t key_length); -#endif /*TRANSFORM_ATTRIBUTE_H_ @} */ +#endif /** TRANSFORM_ATTRIBUTE_H_ @}*/ diff --git a/src/charon/encoding/payloads/transform_substructure.h b/src/charon/encoding/payloads/transform_substructure.h index 0194b9904..82ba25065 100644 --- a/src/charon/encoding/payloads/transform_substructure.h +++ b/src/charon/encoding/payloads/transform_substructure.h @@ -173,4 +173,4 @@ transform_substructure_t *transform_substructure_create_type( transform_type_t transform_type, u_int16_t transform_id, u_int16_t key_length); -#endif /*TRANSFORM_SUBSTRUCTURE_H_ @} */ +#endif /** TRANSFORM_SUBSTRUCTURE_H_ @}*/ diff --git a/src/charon/encoding/payloads/ts_payload.h b/src/charon/encoding/payloads/ts_payload.h index 6f216a396..e0bdfaf55 100644 --- a/src/charon/encoding/payloads/ts_payload.h +++ b/src/charon/encoding/payloads/ts_payload.h @@ -126,4 +126,4 @@ ts_payload_t *ts_payload_create(bool is_initiator); ts_payload_t *ts_payload_create_from_traffic_selectors(bool is_initiator, linked_list_t *traffic_selectors); -#endif /* TS_PAYLOAD_H_ @} */ +#endif /** TS_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/unknown_payload.h b/src/charon/encoding/payloads/unknown_payload.h index 605f19285..42840371b 100644 --- a/src/charon/encoding/payloads/unknown_payload.h +++ b/src/charon/encoding/payloads/unknown_payload.h @@ -78,4 +78,4 @@ struct unknown_payload_t { */ unknown_payload_t *unknown_payload_create(void); -#endif /* UNKNOWN_PAYLOAD_H_ @} */ +#endif /** UNKNOWN_PAYLOAD_H_ @}*/ diff --git a/src/charon/encoding/payloads/vendor_id_payload.h b/src/charon/encoding/payloads/vendor_id_payload.h index a805a366f..38aa4a002 100644 --- a/src/charon/encoding/payloads/vendor_id_payload.h +++ b/src/charon/encoding/payloads/vendor_id_payload.h @@ -86,4 +86,4 @@ struct vendor_id_payload_t { */ vendor_id_payload_t *vendor_id_payload_create(void); -#endif /* VENDOR_ID_PAYLOAD_H_ @} */ +#endif /** VENDOR_ID_PAYLOAD_H_ @}*/ diff --git a/src/charon/kernel/kernel_interface.h b/src/charon/kernel/kernel_interface.h index 105c572c3..85ba881cf 100644 --- a/src/charon/kernel/kernel_interface.h +++ b/src/charon/kernel/kernel_interface.h @@ -379,4 +379,4 @@ struct kernel_interface_t { */ kernel_interface_t *kernel_interface_create(void); -#endif /* KERNEL_INTERFACE_H_ @} */ +#endif /** KERNEL_INTERFACE_H_ @}*/ diff --git a/src/charon/kernel/kernel_ipsec.h b/src/charon/kernel/kernel_ipsec.h index 01fbf6ff3..6360e5fd9 100644 --- a/src/charon/kernel/kernel_ipsec.h +++ b/src/charon/kernel/kernel_ipsec.h @@ -258,4 +258,4 @@ struct kernel_ipsec_t { void (*destroy) (kernel_ipsec_t *this); }; -#endif /* KERNEL_IPSEC_H_ @} */ +#endif /** KERNEL_IPSEC_H_ @}*/ diff --git a/src/charon/kernel/kernel_net.h b/src/charon/kernel/kernel_net.h index 525a9de0f..ef3297dc6 100644 --- a/src/charon/kernel/kernel_net.h +++ b/src/charon/kernel/kernel_net.h @@ -142,4 +142,4 @@ struct kernel_net_t { void (*destroy) (kernel_net_t *this); }; -#endif /* KERNEL_NET_H_ @} */ +#endif /** KERNEL_NET_H_ @}*/ diff --git a/src/charon/network/packet.h b/src/charon/network/packet.h index c9818be6f..8c766ad3c 100644 --- a/src/charon/network/packet.h +++ b/src/charon/network/packet.h @@ -114,4 +114,4 @@ struct packet_t { */ packet_t *packet_create(void); -#endif /*PACKET_H_ @} */ +#endif /** PACKET_H_ @}*/ diff --git a/src/charon/network/receiver.h b/src/charon/network/receiver.h index 00315490a..cd05aecaf 100644 --- a/src/charon/network/receiver.h +++ b/src/charon/network/receiver.h @@ -69,4 +69,4 @@ struct receiver_t { */ receiver_t * receiver_create(void); -#endif /*RECEIVER_H_ @} */ +#endif /** RECEIVER_H_ @}*/ diff --git a/src/charon/network/sender.h b/src/charon/network/sender.h index 6b62dcc97..67b2cbe60 100644 --- a/src/charon/network/sender.h +++ b/src/charon/network/sender.h @@ -61,4 +61,4 @@ struct sender_t { */ sender_t * sender_create(void); -#endif /*SENDER_H_ @} */ +#endif /** SENDER_H_ @}*/ diff --git a/src/charon/network/socket.h b/src/charon/network/socket.h index 79821a2d8..b3ea90fea 100644 --- a/src/charon/network/socket.h +++ b/src/charon/network/socket.h @@ -101,4 +101,4 @@ struct socket_t { */ socket_t *socket_create(); -#endif /*SOCKET_H_ @} */ +#endif /** SOCKET_H_ @}*/ diff --git a/src/charon/plugins/eap_aka/eap_aka.h b/src/charon/plugins/eap_aka/eap_aka.h index 1ee8496b2..26b16d746 100644 --- a/src/charon/plugins/eap_aka/eap_aka.h +++ b/src/charon/plugins/eap_aka/eap_aka.h @@ -49,7 +49,7 @@ typedef struct eap_aka_t eap_aka_t; * a sequence number derived from time. It is initialized to the startup * time of the daemon. As long as the (UTC) time of the system is not * turned back while the daemon is not running, this method is secure. - * To enable time based SEQs, #define SEQ_CHECK as 1. Default is to accept + * To enable time based SEQs, define SEQ_CHECK as 1. Default is to accept * any SEQ numbers. This allows an attacker to do replay attacks. But since * the server has proven his identity via IKE, such an attack is only * possible between server and AAA (if any). @@ -80,4 +80,4 @@ eap_aka_t *eap_aka_create_server(identification_t *server, identification_t *pee */ eap_aka_t *eap_aka_create_peer(identification_t *server, identification_t *peer); -#endif /* EAP_AKA_H_ @}*/ +#endif /** EAP_AKA_H_ @}*/ diff --git a/src/charon/plugins/eap_aka/eap_aka_plugin.h b/src/charon/plugins/eap_aka/eap_aka_plugin.h index 07fcc8294..1431cfc1b 100644 --- a/src/charon/plugins/eap_aka/eap_aka_plugin.h +++ b/src/charon/plugins/eap_aka/eap_aka_plugin.h @@ -46,4 +46,4 @@ struct eap_aka_plugin_t { */ plugin_t *plugin_create(); -#endif /* EAP_AKA_PLUGIN_H_ @}*/ +#endif /** EAP_AKA_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/eap_gtc/eap_gtc.h b/src/charon/plugins/eap_gtc/eap_gtc.h index 478ac81cf..722881249 100644 --- a/src/charon/plugins/eap_gtc/eap_gtc.h +++ b/src/charon/plugins/eap_gtc/eap_gtc.h @@ -59,4 +59,4 @@ eap_gtc_t *eap_gtc_create_server(identification_t *server, identification_t *pee */ eap_gtc_t *eap_gtc_create_peer(identification_t *server, identification_t *peer); -#endif /* EAP_GTC_H_ @}*/ +#endif /** EAP_GTC_H_ @}*/ diff --git a/src/charon/plugins/eap_gtc/eap_gtc_plugin.h b/src/charon/plugins/eap_gtc/eap_gtc_plugin.h index 8b2f5435f..f858f0d15 100644 --- a/src/charon/plugins/eap_gtc/eap_gtc_plugin.h +++ b/src/charon/plugins/eap_gtc/eap_gtc_plugin.h @@ -46,4 +46,4 @@ struct eap_gtc_plugin_t { */ plugin_t *plugin_create(); -#endif /* EAP_GTC_PLUGIN_H_ @}*/ +#endif /** EAP_GTC_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/eap_identity/eap_identity.h b/src/charon/plugins/eap_identity/eap_identity.h index d45f6ca20..0c4c8929c 100644 --- a/src/charon/plugins/eap_identity/eap_identity.h +++ b/src/charon/plugins/eap_identity/eap_identity.h @@ -58,4 +58,4 @@ eap_identity_t *eap_identity_create_server(identification_t *server, eap_identity_t *eap_identity_create_peer(identification_t *server, identification_t *peer); -#endif /* EAP_IDENTITY_H_ @}*/ +#endif /** EAP_IDENTITY_H_ @}*/ diff --git a/src/charon/plugins/eap_identity/eap_identity_plugin.h b/src/charon/plugins/eap_identity/eap_identity_plugin.h index d41c14114..4b9798fcf 100644 --- a/src/charon/plugins/eap_identity/eap_identity_plugin.h +++ b/src/charon/plugins/eap_identity/eap_identity_plugin.h @@ -46,4 +46,4 @@ struct eap_identity_plugin_t { */ plugin_t *plugin_create(); -#endif /* EAP_IDENTITY_PLUGIN_H_ @}*/ +#endif /** EAP_IDENTITY_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/eap_md5/eap_md5.h b/src/charon/plugins/eap_md5/eap_md5.h index bcd505c59..5a050d861 100644 --- a/src/charon/plugins/eap_md5/eap_md5.h +++ b/src/charon/plugins/eap_md5/eap_md5.h @@ -56,4 +56,4 @@ eap_md5_t *eap_md5_create_server(identification_t *server, identification_t *pee */ eap_md5_t *eap_md5_create_peer(identification_t *server, identification_t *peer); -#endif /* EAP_MD5_H_ @}*/ +#endif /** EAP_MD5_H_ @}*/ diff --git a/src/charon/plugins/eap_md5/eap_md5_plugin.h b/src/charon/plugins/eap_md5/eap_md5_plugin.h index 8387a209b..1949f2865 100644 --- a/src/charon/plugins/eap_md5/eap_md5_plugin.h +++ b/src/charon/plugins/eap_md5/eap_md5_plugin.h @@ -46,4 +46,4 @@ struct eap_md5_plugin_t { */ plugin_t *plugin_create(); -#endif /* EAP_MD5_PLUGIN_H_ @}*/ +#endif /** EAP_MD5_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/eap_mschapv2/eap_mschapv2.h b/src/charon/plugins/eap_mschapv2/eap_mschapv2.h index 806fb8463..308b07960 100644 --- a/src/charon/plugins/eap_mschapv2/eap_mschapv2.h +++ b/src/charon/plugins/eap_mschapv2/eap_mschapv2.h @@ -56,4 +56,4 @@ eap_mschapv2_t *eap_mschapv2_create_server(identification_t *server, identificat */ eap_mschapv2_t *eap_mschapv2_create_peer(identification_t *server, identification_t *peer); -#endif /* EAP_MSCHAPV2_H_ @}*/ +#endif /** EAP_MSCHAPV2_H_ @}*/ diff --git a/src/charon/plugins/eap_mschapv2/eap_mschapv2_plugin.h b/src/charon/plugins/eap_mschapv2/eap_mschapv2_plugin.h index b355f2d15..fa3c22fe9 100644 --- a/src/charon/plugins/eap_mschapv2/eap_mschapv2_plugin.h +++ b/src/charon/plugins/eap_mschapv2/eap_mschapv2_plugin.h @@ -46,4 +46,4 @@ struct eap_mschapv2_plugin_t { */ plugin_t *plugin_create(); -#endif /* EAP_MSCHAPV2_PLUGIN_H_ @}*/ +#endif /** EAP_MSCHAPV2_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/eap_radius/eap_radius.h b/src/charon/plugins/eap_radius/eap_radius.h index 5af72eb2e..7cb0a8615 100644 --- a/src/charon/plugins/eap_radius/eap_radius.h +++ b/src/charon/plugins/eap_radius/eap_radius.h @@ -47,4 +47,4 @@ struct eap_radius_t { */ eap_radius_t *eap_radius_create(identification_t *server, identification_t *peer); -#endif /* EAP_RADIUS_H_ @}*/ +#endif /** EAP_RADIUS_H_ @}*/ diff --git a/src/charon/plugins/eap_radius/eap_radius_plugin.h b/src/charon/plugins/eap_radius/eap_radius_plugin.h index 2c3978f42..3ed194619 100644 --- a/src/charon/plugins/eap_radius/eap_radius_plugin.h +++ b/src/charon/plugins/eap_radius/eap_radius_plugin.h @@ -49,4 +49,4 @@ struct eap_radius_plugin_t { */ plugin_t *plugin_create(); -#endif /* EAP_RADIUS_PLUGIN_H_ @}*/ +#endif /** EAP_RADIUS_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/eap_radius/radius_client.h b/src/charon/plugins/eap_radius/radius_client.h index 5b8a88b12..35d67da62 100644 --- a/src/charon/plugins/eap_radius/radius_client.h +++ b/src/charon/plugins/eap_radius/radius_client.h @@ -89,4 +89,4 @@ bool radius_client_init(); */ void radius_client_cleanup(); -#endif /* radius_client_H_ @}*/ +#endif /** RADIUS_CLIENT_H_ @}*/ diff --git a/src/charon/plugins/eap_radius/radius_message.h b/src/charon/plugins/eap_radius/radius_message.h index 5cf49dceb..d195bbe23 100644 --- a/src/charon/plugins/eap_radius/radius_message.h +++ b/src/charon/plugins/eap_radius/radius_message.h @@ -263,7 +263,6 @@ struct radius_message_t { /** * Create an empty RADIUS request message (RMT_ACCESS_REQUEST). * - * @param identifier RADIUS message identifier * @return radius_message_t object */ radius_message_t *radius_message_create_request(); @@ -276,4 +275,4 @@ radius_message_t *radius_message_create_request(); */ radius_message_t *radius_message_parse_response(chunk_t data); -#endif /* RADIUS_MESSAGE_H_ @}*/ +#endif /** RADIUS_MESSAGE_H_ @}*/ diff --git a/src/charon/plugins/eap_sim/eap_sim.h b/src/charon/plugins/eap_sim/eap_sim.h index ec061b6f4..af1aa2aa5 100644 --- a/src/charon/plugins/eap_sim/eap_sim.h +++ b/src/charon/plugins/eap_sim/eap_sim.h @@ -58,4 +58,4 @@ eap_sim_t *eap_sim_create_server(identification_t *server, identification_t *pee */ eap_sim_t *eap_sim_create_peer(identification_t *server, identification_t *peer); -#endif /* EAP_SIM_H_ @}*/ +#endif /** EAP_SIM_H_ @}*/ diff --git a/src/charon/plugins/eap_sim/eap_sim_plugin.h b/src/charon/plugins/eap_sim/eap_sim_plugin.h index a12234157..3cdf1981d 100644 --- a/src/charon/plugins/eap_sim/eap_sim_plugin.h +++ b/src/charon/plugins/eap_sim/eap_sim_plugin.h @@ -46,4 +46,4 @@ struct eap_sim_plugin_t { */ plugin_t *plugin_create(); -#endif /* EAP_SIM_PLUGIN_H_ @}*/ +#endif /** EAP_SIM_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/eap_sim_file/eap_sim_file_card.h b/src/charon/plugins/eap_sim_file/eap_sim_file_card.h index 953a3e915..9f28aa8fc 100644 --- a/src/charon/plugins/eap_sim_file/eap_sim_file_card.h +++ b/src/charon/plugins/eap_sim_file/eap_sim_file_card.h @@ -52,4 +52,4 @@ struct eap_sim_file_card_t { */ eap_sim_file_card_t *eap_sim_file_card_create(eap_sim_file_triplets_t *triplets); -#endif /* EAP_SIM_FILE_CARD_ @}*/ +#endif /** EAP_SIM_FILE_CARD_ @}*/ diff --git a/src/charon/plugins/eap_sim_file/eap_sim_file_plugin.h b/src/charon/plugins/eap_sim_file/eap_sim_file_plugin.h index c1828527d..8e603258f 100644 --- a/src/charon/plugins/eap_sim_file/eap_sim_file_plugin.h +++ b/src/charon/plugins/eap_sim_file/eap_sim_file_plugin.h @@ -46,4 +46,4 @@ struct eap_sim_file_plugin_t { */ plugin_t *plugin_create(); -#endif /* EAP_SIM_FILE_PLUGIN_H_ @}*/ +#endif /** EAP_SIM_FILE_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/eap_sim_file/eap_sim_file_provider.h b/src/charon/plugins/eap_sim_file/eap_sim_file_provider.h index bc8f6cca0..efd73802a 100644 --- a/src/charon/plugins/eap_sim_file/eap_sim_file_provider.h +++ b/src/charon/plugins/eap_sim_file/eap_sim_file_provider.h @@ -51,4 +51,4 @@ struct eap_sim_file_provider_t { eap_sim_file_provider_t *eap_sim_file_provider_create( eap_sim_file_triplets_t *triplets); -#endif /* EAP_SIM_FILE_PROVIDER_ @}*/ +#endif /** EAP_SIM_FILE_PROVIDER_ @}*/ diff --git a/src/charon/plugins/eap_sim_file/eap_sim_file_triplets.h b/src/charon/plugins/eap_sim_file/eap_sim_file_triplets.h index 5f3adfe62..a6e9188a5 100644 --- a/src/charon/plugins/eap_sim_file/eap_sim_file_triplets.h +++ b/src/charon/plugins/eap_sim_file/eap_sim_file_triplets.h @@ -71,4 +71,4 @@ struct eap_sim_file_triplets_t { */ eap_sim_file_triplets_t *eap_sim_file_triplets_create(char *file); -#endif /* EAP_SIM_FILE_TRIPLETS_ @}*/ +#endif /** EAP_SIM_FILE_TRIPLETS_ @}*/ diff --git a/src/charon/plugins/kernel_klips/kernel_klips_ipsec.h b/src/charon/plugins/kernel_klips/kernel_klips_ipsec.h index cd810c685..8f3b4198e 100644 --- a/src/charon/plugins/kernel_klips/kernel_klips_ipsec.h +++ b/src/charon/plugins/kernel_klips/kernel_klips_ipsec.h @@ -45,4 +45,4 @@ struct kernel_klips_ipsec_t { */ kernel_klips_ipsec_t *kernel_klips_ipsec_create(); -#endif /* KERNEL_KLIPS_IPSEC_H_ @} */ +#endif /** KERNEL_KLIPS_IPSEC_H_ @}*/ diff --git a/src/charon/plugins/kernel_klips/kernel_klips_plugin.h b/src/charon/plugins/kernel_klips/kernel_klips_plugin.h index 2e1acc2fc..7ad245d6b 100644 --- a/src/charon/plugins/kernel_klips/kernel_klips_plugin.h +++ b/src/charon/plugins/kernel_klips/kernel_klips_plugin.h @@ -46,4 +46,4 @@ struct kernel_klips_plugin_t { */ plugin_t *plugin_create(); -#endif /* KERNEL_KLIPS_PLUGIN_H_ @} */ +#endif /** KERNEL_KLIPS_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/kernel_netlink/kernel_netlink_ipsec.h b/src/charon/plugins/kernel_netlink/kernel_netlink_ipsec.h index 6aae1a676..2e5e59f12 100644 --- a/src/charon/plugins/kernel_netlink/kernel_netlink_ipsec.h +++ b/src/charon/plugins/kernel_netlink/kernel_netlink_ipsec.h @@ -45,4 +45,4 @@ struct kernel_netlink_ipsec_t { */ kernel_netlink_ipsec_t *kernel_netlink_ipsec_create(); -#endif /* KERNEL_NETLINK_IPSEC_H_ @} */ +#endif /** KERNEL_NETLINK_IPSEC_H_ @}*/ diff --git a/src/charon/plugins/kernel_netlink/kernel_netlink_net.h b/src/charon/plugins/kernel_netlink/kernel_netlink_net.h index b1342464c..c8d265b72 100644 --- a/src/charon/plugins/kernel_netlink/kernel_netlink_net.h +++ b/src/charon/plugins/kernel_netlink/kernel_netlink_net.h @@ -45,4 +45,4 @@ struct kernel_netlink_net_t { */ kernel_netlink_net_t *kernel_netlink_net_create(); -#endif /* KERNEL_NETLINK_NET_H_ @} */ +#endif /** KERNEL_NETLINK_NET_H_ @}*/ diff --git a/src/charon/plugins/kernel_netlink/kernel_netlink_plugin.h b/src/charon/plugins/kernel_netlink/kernel_netlink_plugin.h index 8253fc87f..0ba8b7be1 100644 --- a/src/charon/plugins/kernel_netlink/kernel_netlink_plugin.h +++ b/src/charon/plugins/kernel_netlink/kernel_netlink_plugin.h @@ -46,4 +46,4 @@ struct kernel_netlink_plugin_t { */ plugin_t *plugin_create(); -#endif /* KERNEL_NETLINK_PLUGIN_H_ @} */ +#endif /** KERNEL_NETLINK_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.h b/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.h index 5e6953bdf..88f4708e2 100644 --- a/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.h +++ b/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.h @@ -45,4 +45,4 @@ struct kernel_pfkey_ipsec_t { */ kernel_pfkey_ipsec_t *kernel_pfkey_ipsec_create(); -#endif /* KERNEL_PFKEY_IPSEC_H_ @} */ +#endif /** KERNEL_PFKEY_IPSEC_H_ @}*/ diff --git a/src/charon/plugins/kernel_pfkey/kernel_pfkey_plugin.h b/src/charon/plugins/kernel_pfkey/kernel_pfkey_plugin.h index 57e6b9b9b..08fb7a2e6 100644 --- a/src/charon/plugins/kernel_pfkey/kernel_pfkey_plugin.h +++ b/src/charon/plugins/kernel_pfkey/kernel_pfkey_plugin.h @@ -46,4 +46,4 @@ struct kernel_pfkey_plugin_t { */ plugin_t *plugin_create(); -#endif /* KERNEL_PFKEY_PLUGIN_H_ @} */ +#endif /** KERNEL_PFKEY_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/load_tester/load_tester_config.h b/src/charon/plugins/load_tester/load_tester_config.h index d5391da63..92a0ff95b 100644 --- a/src/charon/plugins/load_tester/load_tester_config.h +++ b/src/charon/plugins/load_tester/load_tester_config.h @@ -50,4 +50,4 @@ struct load_tester_config_t { */ load_tester_config_t *load_tester_config_create(); -#endif /* LOAD_TESTER_CONFIG_H_ @}*/ +#endif /** LOAD_TESTER_CONFIG_H_ @}*/ diff --git a/src/charon/plugins/load_tester/load_tester_creds.h b/src/charon/plugins/load_tester/load_tester_creds.h index bc092bd12..ed73f14c3 100644 --- a/src/charon/plugins/load_tester/load_tester_creds.h +++ b/src/charon/plugins/load_tester/load_tester_creds.h @@ -50,4 +50,4 @@ struct load_tester_creds_t { */ load_tester_creds_t *load_tester_creds_create(); -#endif /* LOAD_TESTER_CREDS_H_ @}*/ +#endif /** LOAD_TESTER_CREDS_H_ @}*/ diff --git a/src/charon/plugins/load_tester/load_tester_diffie_hellman.h b/src/charon/plugins/load_tester/load_tester_diffie_hellman.h index 1f66e7f2b..422428a54 100644 --- a/src/charon/plugins/load_tester/load_tester_diffie_hellman.h +++ b/src/charon/plugins/load_tester/load_tester_diffie_hellman.h @@ -47,4 +47,4 @@ struct load_tester_diffie_hellman_t { load_tester_diffie_hellman_t *load_tester_diffie_hellman_create( diffie_hellman_group_t group); -#endif /* LOAD_TESTER_DIFFIE_HELLMAN_ @}*/ +#endif /** LOAD_TESTER_DIFFIE_HELLMAN_ @}*/ diff --git a/src/charon/plugins/load_tester/load_tester_ipsec.h b/src/charon/plugins/load_tester/load_tester_ipsec.h index 34a99dcbd..4f374032f 100644 --- a/src/charon/plugins/load_tester/load_tester_ipsec.h +++ b/src/charon/plugins/load_tester/load_tester_ipsec.h @@ -45,4 +45,4 @@ struct load_tester_ipsec_t { */ load_tester_ipsec_t *load_tester_ipsec_create(); -#endif /* LOAD_TESTER_IPSEC_H_ @} */ +#endif /** LOAD_TESTER_IPSEC_H_ @}*/ diff --git a/src/charon/plugins/load_tester/load_tester_listener.h b/src/charon/plugins/load_tester/load_tester_listener.h index 6ef749b96..b61da0cb3 100644 --- a/src/charon/plugins/load_tester/load_tester_listener.h +++ b/src/charon/plugins/load_tester/load_tester_listener.h @@ -51,4 +51,4 @@ struct load_tester_listener_t { */ load_tester_listener_t *load_tester_listener_create(u_int shutdown_on); -#endif /* LOAD_TESTER_LISTENER_H_ @}*/ +#endif /** LOAD_TESTER_LISTENER_H_ @}*/ diff --git a/src/charon/plugins/load_tester/load_tester_plugin.h b/src/charon/plugins/load_tester/load_tester_plugin.h index 10088bfa2..e0b64cfef 100644 --- a/src/charon/plugins/load_tester/load_tester_plugin.h +++ b/src/charon/plugins/load_tester/load_tester_plugin.h @@ -48,4 +48,4 @@ struct load_tester_plugin_t { */ plugin_t *plugin_create(); -#endif /* LOAD_TESTER_PLUGIN_H_ @}*/ +#endif /** LOAD_TESTER_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/medcli/medcli_config.h b/src/charon/plugins/medcli/medcli_config.h index 789a73243..9c0357a26 100644 --- a/src/charon/plugins/medcli/medcli_config.h +++ b/src/charon/plugins/medcli/medcli_config.h @@ -52,4 +52,4 @@ struct medcli_config_t { */ medcli_config_t *medcli_config_create(database_t *db); -#endif /* MEDCLI_CONFIG_H_ @}*/ +#endif /** MEDCLI_CONFIG_H_ @}*/ diff --git a/src/charon/plugins/medcli/medcli_creds.h b/src/charon/plugins/medcli/medcli_creds.h index 5a81edaf2..4e563b4ac 100644 --- a/src/charon/plugins/medcli/medcli_creds.h +++ b/src/charon/plugins/medcli/medcli_creds.h @@ -52,4 +52,4 @@ struct medcli_creds_t { */ medcli_creds_t *medcli_creds_create(database_t *database); -#endif /* MEDCLI_CREDS_H_ @}*/ +#endif /** MEDCLI_CREDS_H_ @}*/ diff --git a/src/charon/plugins/medcli/medcli_listener.h b/src/charon/plugins/medcli/medcli_listener.h index 4cec3caad..291e66097 100644 --- a/src/charon/plugins/medcli/medcli_listener.h +++ b/src/charon/plugins/medcli/medcli_listener.h @@ -52,4 +52,4 @@ struct medcli_listener_t { */ medcli_listener_t *medcli_listener_create(database_t *database); -#endif /* MEDCLI_LISTENER_H_ @}*/ +#endif /** MEDCLI_LISTENER_H_ @}*/ diff --git a/src/charon/plugins/medcli/medcli_plugin.h b/src/charon/plugins/medcli/medcli_plugin.h index 1a8c5b5e7..791a5cea5 100644 --- a/src/charon/plugins/medcli/medcli_plugin.h +++ b/src/charon/plugins/medcli/medcli_plugin.h @@ -46,4 +46,4 @@ struct medcli_plugin_t { */ plugin_t *plugin_create(); -#endif /* MEDCLI_PLUGIN_H_ @}*/ +#endif /** MEDCLI_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/medsrv/medsrv_config.h b/src/charon/plugins/medsrv/medsrv_config.h index ebb62037e..a92780144 100644 --- a/src/charon/plugins/medsrv/medsrv_config.h +++ b/src/charon/plugins/medsrv/medsrv_config.h @@ -52,4 +52,4 @@ struct medsrv_config_t { */ medsrv_config_t *medsrv_config_create(database_t *db); -#endif /* MEDSRV_CONFIG_H_ @}*/ +#endif /** MEDSRV_CONFIG_H_ @}*/ diff --git a/src/charon/plugins/medsrv/medsrv_creds.h b/src/charon/plugins/medsrv/medsrv_creds.h index 5884006e3..82d852e6e 100644 --- a/src/charon/plugins/medsrv/medsrv_creds.h +++ b/src/charon/plugins/medsrv/medsrv_creds.h @@ -52,4 +52,4 @@ struct medsrv_creds_t { */ medsrv_creds_t *medsrv_creds_create(database_t *database); -#endif /* MEDSRV_CREDS_H_ @}*/ +#endif /** MEDSRV_CREDS_H_ @}*/ diff --git a/src/charon/plugins/medsrv/medsrv_plugin.h b/src/charon/plugins/medsrv/medsrv_plugin.h index cb7d205cb..c49262f79 100644 --- a/src/charon/plugins/medsrv/medsrv_plugin.h +++ b/src/charon/plugins/medsrv/medsrv_plugin.h @@ -46,4 +46,4 @@ struct medsrv_plugin_t { */ plugin_t *plugin_create(); -#endif /* MEDSRV_PLUGIN_H_ @}*/ +#endif /** MEDSRV_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/nm/nm_creds.h b/src/charon/plugins/nm/nm_creds.h index 4bcc32191..b0cc7a098 100644 --- a/src/charon/plugins/nm/nm_creds.h +++ b/src/charon/plugins/nm/nm_creds.h @@ -76,4 +76,4 @@ struct nm_creds_t { */ nm_creds_t *nm_creds_create(); -#endif /* NM_CREDS_H_ @}*/ +#endif /** NM_CREDS_H_ @}*/ diff --git a/src/charon/plugins/nm/nm_plugin.h b/src/charon/plugins/nm/nm_plugin.h index 2604b80dd..fadcbfb96 100644 --- a/src/charon/plugins/nm/nm_plugin.h +++ b/src/charon/plugins/nm/nm_plugin.h @@ -46,4 +46,4 @@ struct nm_plugin_t { */ plugin_t *plugin_create(); -#endif /* NM_PLUGIN_H_ @}*/ +#endif /** NM_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/nm/nm_service.h b/src/charon/plugins/nm/nm_service.h index 7cd0fc5e3..bc6ebcf99 100644 --- a/src/charon/plugins/nm/nm_service.h +++ b/src/charon/plugins/nm/nm_service.h @@ -52,4 +52,4 @@ GType nm_strongswan_plugin_get_type(void); NMStrongswanPlugin *nm_strongswan_plugin_new(nm_creds_t *creds); -#endif /* NM_SERVICE_H_ */ +#endif /** NM_SERVICE_H_ @}*/ diff --git a/src/charon/plugins/smp/smp.h b/src/charon/plugins/smp/smp.h index d8687d55c..a7ee513d2 100644 --- a/src/charon/plugins/smp/smp.h +++ b/src/charon/plugins/smp/smp.h @@ -49,4 +49,4 @@ struct smp_t { */ plugin_t *plugin_create(); -#endif /* XML_H_ @}*/ +#endif /** XML_H_ @}*/ diff --git a/src/charon/plugins/sql/sql_attribute.h b/src/charon/plugins/sql/sql_attribute.h index 211204ced..57db4617e 100644 --- a/src/charon/plugins/sql/sql_attribute.h +++ b/src/charon/plugins/sql/sql_attribute.h @@ -48,4 +48,4 @@ struct sql_attribute_t { */ sql_attribute_t *sql_attribute_create(database_t *db); -#endif /* SQL_ATTRIBUTE_H_ @}*/ +#endif /** SQL_ATTRIBUTE_H_ @}*/ diff --git a/src/charon/plugins/sql/sql_config.h b/src/charon/plugins/sql/sql_config.h index fb40666c7..45ca178e5 100644 --- a/src/charon/plugins/sql/sql_config.h +++ b/src/charon/plugins/sql/sql_config.h @@ -52,4 +52,4 @@ struct sql_config_t { */ sql_config_t *sql_config_create(database_t *db); -#endif /* SQL_CONFIG_H_ @}*/ +#endif /** SQL_CONFIG_H_ @}*/ diff --git a/src/charon/plugins/sql/sql_cred.h b/src/charon/plugins/sql/sql_cred.h index e251abe00..a614f0cba 100644 --- a/src/charon/plugins/sql/sql_cred.h +++ b/src/charon/plugins/sql/sql_cred.h @@ -52,4 +52,4 @@ struct sql_cred_t { */ sql_cred_t *sql_cred_create(database_t *db); -#endif /* SQL_CRED_H_ @}*/ +#endif /** SQL_CRED_H_ @}*/ diff --git a/src/charon/plugins/sql/sql_logger.h b/src/charon/plugins/sql/sql_logger.h index a2c6fb5e9..3346430a1 100644 --- a/src/charon/plugins/sql/sql_logger.h +++ b/src/charon/plugins/sql/sql_logger.h @@ -52,4 +52,4 @@ struct sql_logger_t { */ sql_logger_t *sql_logger_create(database_t *db); -#endif /* SQL_LOGGER_H_ @}*/ +#endif /** SQL_LOGGER_H_ @}*/ diff --git a/src/charon/plugins/sql/sql_plugin.h b/src/charon/plugins/sql/sql_plugin.h index 978df3744..a45c5dd05 100644 --- a/src/charon/plugins/sql/sql_plugin.h +++ b/src/charon/plugins/sql/sql_plugin.h @@ -46,4 +46,4 @@ struct sql_plugin_t { */ plugin_t *plugin_create(); -#endif /* SQL_PLUGIN_H_ @}*/ +#endif /** SQL_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/stroke/stroke_attribute.h b/src/charon/plugins/stroke/stroke_attribute.h index 5060dc987..41ab6299b 100644 --- a/src/charon/plugins/stroke/stroke_attribute.h +++ b/src/charon/plugins/stroke/stroke_attribute.h @@ -85,4 +85,4 @@ struct stroke_attribute_t { */ stroke_attribute_t *stroke_attribute_create(); -#endif /* STROKE_ATTRIBUTE_H_ @}*/ +#endif /** STROKE_ATTRIBUTE_H_ @}*/ diff --git a/src/charon/plugins/stroke/stroke_ca.h b/src/charon/plugins/stroke/stroke_ca.h index 882446afe..ee759ff4e 100644 --- a/src/charon/plugins/stroke/stroke_ca.h +++ b/src/charon/plugins/stroke/stroke_ca.h @@ -79,4 +79,4 @@ struct stroke_ca_t { */ stroke_ca_t *stroke_ca_create(stroke_cred_t *cred); -#endif /* STROKE_CA_H_ @}*/ +#endif /** STROKE_CA_H_ @}*/ diff --git a/src/charon/plugins/stroke/stroke_config.h b/src/charon/plugins/stroke/stroke_config.h index 22b493cd2..12eb11a8f 100644 --- a/src/charon/plugins/stroke/stroke_config.h +++ b/src/charon/plugins/stroke/stroke_config.h @@ -65,4 +65,4 @@ struct stroke_config_t { */ stroke_config_t *stroke_config_create(stroke_ca_t *ca, stroke_cred_t *cred); -#endif /* STROKE_CONFIG_H_ @}*/ +#endif /** STROKE_CONFIG_H_ @}*/ diff --git a/src/charon/plugins/stroke/stroke_control.h b/src/charon/plugins/stroke/stroke_control.h index 926964458..26dc99b94 100644 --- a/src/charon/plugins/stroke/stroke_control.h +++ b/src/charon/plugins/stroke/stroke_control.h @@ -80,4 +80,4 @@ struct stroke_control_t { */ stroke_control_t *stroke_control_create(); -#endif /* STROKE_CONTROL_H_ @}*/ +#endif /** STROKE_CONTROL_H_ @}*/ diff --git a/src/charon/plugins/stroke/stroke_cred.h b/src/charon/plugins/stroke/stroke_cred.h index 1b9ef986e..fc7121622 100644 --- a/src/charon/plugins/stroke/stroke_cred.h +++ b/src/charon/plugins/stroke/stroke_cred.h @@ -80,4 +80,4 @@ struct stroke_cred_t { */ stroke_cred_t *stroke_cred_create(); -#endif /* STROKE_CRED_H_ @}*/ +#endif /** STROKE_CRED_H_ @}*/ diff --git a/src/charon/plugins/stroke/stroke_list.h b/src/charon/plugins/stroke/stroke_list.h index 1f7f19d62..73a6ff6e4 100644 --- a/src/charon/plugins/stroke/stroke_list.h +++ b/src/charon/plugins/stroke/stroke_list.h @@ -73,4 +73,4 @@ struct stroke_list_t { */ stroke_list_t *stroke_list_create(stroke_attribute_t *attribute); -#endif /* STROKE_LIST_H_ @}*/ +#endif /** STROKE_LIST_H_ @}*/ diff --git a/src/charon/plugins/stroke/stroke_plugin.h b/src/charon/plugins/stroke/stroke_plugin.h index 7ea18b8af..b4c367c6e 100644 --- a/src/charon/plugins/stroke/stroke_plugin.h +++ b/src/charon/plugins/stroke/stroke_plugin.h @@ -49,4 +49,4 @@ struct stroke_plugin_t { */ plugin_t *plugin_create(); -#endif /* STROKE_PLUGIN_H_ @}*/ +#endif /** STROKE_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/stroke/stroke_shared_key.h b/src/charon/plugins/stroke/stroke_shared_key.h index e93d8cee2..b456095ae 100644 --- a/src/charon/plugins/stroke/stroke_shared_key.h +++ b/src/charon/plugins/stroke/stroke_shared_key.h @@ -59,4 +59,4 @@ struct stroke_shared_key_t { */ stroke_shared_key_t *stroke_shared_key_create(shared_key_type_t type, chunk_t key); -#endif /* STROKE_SHARED_KEY_H_ @}*/ +#endif /** STROKE_SHARED_KEY_H_ @}*/ diff --git a/src/charon/plugins/stroke/stroke_socket.h b/src/charon/plugins/stroke/stroke_socket.h index 7bc96686f..7a772c56c 100644 --- a/src/charon/plugins/stroke/stroke_socket.h +++ b/src/charon/plugins/stroke/stroke_socket.h @@ -41,4 +41,4 @@ struct stroke_socket_t { */ stroke_socket_t *stroke_socket_create(); -#endif /* STROKE_SOCKET_H_ @}*/ +#endif /** STROKE_SOCKET_H_ @}*/ diff --git a/src/charon/plugins/uci/uci_config.h b/src/charon/plugins/uci/uci_config.h index 4d8b286c6..67893f771 100644 --- a/src/charon/plugins/uci/uci_config.h +++ b/src/charon/plugins/uci/uci_config.h @@ -54,4 +54,4 @@ struct uci_config_t { */ uci_config_t *uci_config_create(uci_parser_t *parser); -#endif /* UCI_CONFIG_H_ @}*/ +#endif /** UCI_CONFIG_H_ @}*/ diff --git a/src/charon/plugins/uci/uci_control.h b/src/charon/plugins/uci/uci_control.h index 774c42661..b5db32226 100644 --- a/src/charon/plugins/uci/uci_control.h +++ b/src/charon/plugins/uci/uci_control.h @@ -25,19 +25,20 @@ typedef struct uci_control_t uci_control_t; +/** + * UCI control interface, uses a simple FIFO file + */ struct uci_control_t { - + /** - * Destroy the controller - */ - + * Destroy the controller + */ void (*destroy)(uci_control_t *this); }; /** * Create a UCI based configuration backend. */ - uci_control_t *uci_control_create(); -#endif /*UCI_CONTROL_H_@}*/ +#endif /** UCI_CONTROL_H_ @}*/ diff --git a/src/charon/plugins/uci/uci_creds.h b/src/charon/plugins/uci/uci_creds.h index cf82f1c07..f1573a8a3 100644 --- a/src/charon/plugins/uci/uci_creds.h +++ b/src/charon/plugins/uci/uci_creds.h @@ -54,4 +54,4 @@ struct uci_creds_t { */ uci_creds_t *uci_creds_create(uci_parser_t *parser); -#endif /* UCI_CREDS_H_ @}*/ +#endif /** UCI_CREDS_H_ @}*/ diff --git a/src/charon/plugins/uci/uci_parser.h b/src/charon/plugins/uci/uci_parser.h index a8633ca2e..b3e76962b 100644 --- a/src/charon/plugins/uci/uci_parser.h +++ b/src/charon/plugins/uci/uci_parser.h @@ -58,5 +58,4 @@ struct uci_parser_t { */ uci_parser_t *uci_parser_create(char *package); -#endif /* UCI_PARSER_H_ @}*/ - +#endif /** UCI_PARSER_H_ @}*/ diff --git a/src/charon/plugins/uci/uci_plugin.h b/src/charon/plugins/uci/uci_plugin.h index cac95dc13..d9a888aa1 100644 --- a/src/charon/plugins/uci/uci_plugin.h +++ b/src/charon/plugins/uci/uci_plugin.h @@ -47,4 +47,4 @@ struct uci_plugin_t { */ plugin_t *plugin_create(); -#endif /* UCI_PLUGIN_H_ @}*/ +#endif /** UCI_PLUGIN_H_ @}*/ diff --git a/src/charon/plugins/unit_tester/tests.h b/src/charon/plugins/unit_tester/tests.h index d68a7148d..2576391c4 100644 --- a/src/charon/plugins/unit_tester/tests.h +++ b/src/charon/plugins/unit_tester/tests.h @@ -41,3 +41,5 @@ DEFINE_TEST("Base64 converter", test_chunk_base64, FALSE) DEFINE_TEST("IP pool", test_pool, FALSE) DEFINE_TEST("SSH agent", test_agent, FALSE) DEFINE_TEST("RNG quality", test_rng, FALSE) + +/** @}*/ diff --git a/src/charon/plugins/unit_tester/unit_tester.h b/src/charon/plugins/unit_tester/unit_tester.h index a87c86251..7d117be4a 100644 --- a/src/charon/plugins/unit_tester/unit_tester.h +++ b/src/charon/plugins/unit_tester/unit_tester.h @@ -48,4 +48,4 @@ struct unit_tester_t { */ plugin_t *plugin_create(); -#endif /* UNIT_TESTER_H_ @}*/ +#endif /** UNIT_TESTER_H_ @}*/ diff --git a/src/charon/plugins/updown/updown_listener.h b/src/charon/plugins/updown/updown_listener.h index 569d5817e..0d09a4cea 100644 --- a/src/charon/plugins/updown/updown_listener.h +++ b/src/charon/plugins/updown/updown_listener.h @@ -48,4 +48,4 @@ struct updown_listener_t { */ updown_listener_t *updown_listener_create(); -#endif /* UPDOWN_LISTENER_ @}*/ +#endif /** UPDOWN_LISTENER_ @}*/ diff --git a/src/charon/plugins/updown/updown_plugin.h b/src/charon/plugins/updown/updown_plugin.h index 4d0a930c2..99779d04e 100644 --- a/src/charon/plugins/updown/updown_plugin.h +++ b/src/charon/plugins/updown/updown_plugin.h @@ -46,4 +46,4 @@ struct updown_plugin_t { */ plugin_t *plugin_create(); -#endif /* UPDOWN_PLUGIN_H_ @}*/ +#endif /** UPDOWN_PLUGIN_H_ @}*/ diff --git a/src/charon/processing/jobs/acquire_job.h b/src/charon/processing/jobs/acquire_job.h index edbd51d2d..d80b762fc 100644 --- a/src/charon/processing/jobs/acquire_job.h +++ b/src/charon/processing/jobs/acquire_job.h @@ -55,4 +55,4 @@ acquire_job_t *acquire_job_create(u_int32_t reqid, traffic_selector_t *src_ts, traffic_selector_t *dst_ts); -#endif /* REKEY_CHILD_SA_JOB_H_ @} */ +#endif /** REKEY_CHILD_SA_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/callback_job.h b/src/charon/processing/jobs/callback_job.h index 1fa9fa2d6..f7861eb60 100644 --- a/src/charon/processing/jobs/callback_job.h +++ b/src/charon/processing/jobs/callback_job.h @@ -116,4 +116,4 @@ callback_job_t *callback_job_create(callback_job_cb_t cb, void *data, callback_job_cleanup_t cleanup, callback_job_t *parent); -#endif /* CALLBACK_JOB_H_ @} */ +#endif /** CALLBACK_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/delete_child_sa_job.h b/src/charon/processing/jobs/delete_child_sa_job.h index 35d884be7..e8d0964a7 100644 --- a/src/charon/processing/jobs/delete_child_sa_job.h +++ b/src/charon/processing/jobs/delete_child_sa_job.h @@ -58,4 +58,4 @@ delete_child_sa_job_t *delete_child_sa_job_create(u_int32_t reqid, protocol_id_t protocol, u_int32_t spi); -#endif /* DELETE_CHILD_SA_JOB_H_ @} */ +#endif /** DELETE_CHILD_SA_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/delete_ike_sa_job.h b/src/charon/processing/jobs/delete_ike_sa_job.h index 773305d0b..255ff0855 100644 --- a/src/charon/processing/jobs/delete_ike_sa_job.h +++ b/src/charon/processing/jobs/delete_ike_sa_job.h @@ -56,4 +56,4 @@ struct delete_ike_sa_job_t { delete_ike_sa_job_t *delete_ike_sa_job_create(ike_sa_id_t *ike_sa_id, bool delete_if_established); -#endif /* DELETE_IKE_SA_JOB_H_ @} */ +#endif /** DELETE_IKE_SA_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/initiate_mediation_job.h b/src/charon/processing/jobs/initiate_mediation_job.h index cd761f164..fdc26886a 100644 --- a/src/charon/processing/jobs/initiate_mediation_job.h +++ b/src/charon/processing/jobs/initiate_mediation_job.h @@ -60,4 +60,4 @@ initiate_mediation_job_t *initiate_mediation_job_create(ike_sa_id_t *ike_sa_id); initiate_mediation_job_t *reinitiate_mediation_job_create(ike_sa_id_t *mediation_sa_id, ike_sa_id_t *mediated_sa_id); -#endif /*INITIATE_MEDIATION_JOB_H_ @} */ +#endif /** INITIATE_MEDIATION_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/job.h b/src/charon/processing/jobs/job.h index dc7821616..751fac78b 100644 --- a/src/charon/processing/jobs/job.h +++ b/src/charon/processing/jobs/job.h @@ -51,4 +51,4 @@ struct job_t { void (*destroy) (job_t *job); }; -#endif /* JOB_H_ @} */ +#endif /** JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/mediation_job.h b/src/charon/processing/jobs/mediation_job.h index 83f135611..25d898764 100644 --- a/src/charon/processing/jobs/mediation_job.h +++ b/src/charon/processing/jobs/mediation_job.h @@ -73,4 +73,4 @@ mediation_job_t *mediation_job_create(identification_t *peer_id, mediation_job_t *mediation_callback_job_create(identification_t *requester, identification_t *peer_id); -#endif /*MEDIATION_JOB_H_ @} */ +#endif /** MEDIATION_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/migrate_job.h b/src/charon/processing/jobs/migrate_job.h index 09e6ba097..6632513a8 100644 --- a/src/charon/processing/jobs/migrate_job.h +++ b/src/charon/processing/jobs/migrate_job.h @@ -62,4 +62,4 @@ migrate_job_t *migrate_job_create(u_int32_t reqid, policy_dir_t dir, host_t *local, host_t *remote); -#endif /* MIGRATE_JOB_H_ @} */ +#endif /** MIGRATE_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/process_message_job.h b/src/charon/processing/jobs/process_message_job.h index 31c2d11fd..70ee3a7f9 100644 --- a/src/charon/processing/jobs/process_message_job.h +++ b/src/charon/processing/jobs/process_message_job.h @@ -48,4 +48,4 @@ struct process_message_job_t { */ process_message_job_t *process_message_job_create(message_t *message); -#endif /*PROCESS_MESSAGE_JOB_H_ @} */ +#endif /** PROCESS_MESSAGE_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/rekey_child_sa_job.h b/src/charon/processing/jobs/rekey_child_sa_job.h index db1357abe..e63ddb250 100644 --- a/src/charon/processing/jobs/rekey_child_sa_job.h +++ b/src/charon/processing/jobs/rekey_child_sa_job.h @@ -56,4 +56,4 @@ struct rekey_child_sa_job_t { rekey_child_sa_job_t *rekey_child_sa_job_create(u_int32_t reqid, protocol_id_t protocol, u_int32_t spi); -#endif /* REKEY_CHILD_SA_JOB_H_ @} */ +#endif /** REKEY_CHILD_SA_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/rekey_ike_sa_job.h b/src/charon/processing/jobs/rekey_ike_sa_job.h index fa45460cc..72c530b94 100644 --- a/src/charon/processing/jobs/rekey_ike_sa_job.h +++ b/src/charon/processing/jobs/rekey_ike_sa_job.h @@ -50,4 +50,4 @@ struct rekey_ike_sa_job_t { */ rekey_ike_sa_job_t *rekey_ike_sa_job_create(ike_sa_id_t *ike_sa_id, bool reauth); -#endif /* REKEY_IKE_SA_JOB_H_ @} */ +#endif /** REKEY_IKE_SA_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/retransmit_job.h b/src/charon/processing/jobs/retransmit_job.h index bbacf0094..802974c9e 100644 --- a/src/charon/processing/jobs/retransmit_job.h +++ b/src/charon/processing/jobs/retransmit_job.h @@ -54,4 +54,4 @@ struct retransmit_job_t { retransmit_job_t *retransmit_job_create(u_int32_t message_id, ike_sa_id_t *ike_sa_id); -#endif /* RETRANSMIT_JOB_H_ @} */ +#endif /** RETRANSMIT_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/roam_job.h b/src/charon/processing/jobs/roam_job.h index 4dafdd532..09d0e730d 100644 --- a/src/charon/processing/jobs/roam_job.h +++ b/src/charon/processing/jobs/roam_job.h @@ -51,4 +51,4 @@ struct roam_job_t { */ roam_job_t *roam_job_create(bool address); -#endif /*ROAM_JOB_H_ @} */ +#endif /** ROAM_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/send_dpd_job.h b/src/charon/processing/jobs/send_dpd_job.h index 73aa720b3..7fd3e727d 100644 --- a/src/charon/processing/jobs/send_dpd_job.h +++ b/src/charon/processing/jobs/send_dpd_job.h @@ -51,4 +51,4 @@ struct send_dpd_job_t { */ send_dpd_job_t *send_dpd_job_create(ike_sa_id_t *ike_sa_id); -#endif /*SEND_DPD_JOB_H_ @} */ +#endif /** SEND_DPD_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/send_keepalive_job.h b/src/charon/processing/jobs/send_keepalive_job.h index e3bb9f9e4..58153b9fb 100644 --- a/src/charon/processing/jobs/send_keepalive_job.h +++ b/src/charon/processing/jobs/send_keepalive_job.h @@ -50,4 +50,4 @@ struct send_keepalive_job_t { */ send_keepalive_job_t *send_keepalive_job_create(ike_sa_id_t *ike_sa_id); -#endif /*SEND_KEEPALIVE_JOB_H_ @} */ +#endif /** SEND_KEEPALIVE_JOB_H_ @}*/ diff --git a/src/charon/processing/jobs/update_sa_job.h b/src/charon/processing/jobs/update_sa_job.h index 5a350d939..79b89bbe3 100644 --- a/src/charon/processing/jobs/update_sa_job.h +++ b/src/charon/processing/jobs/update_sa_job.h @@ -49,4 +49,4 @@ struct update_sa_job_t { */ update_sa_job_t *update_sa_job_create(u_int32_t reqid, host_t *new); -#endif /*UPDATE_SA_JOB_H_ @} */ +#endif /** UPDATE_SA_JOB_H_ @}*/ diff --git a/src/charon/processing/processor.h b/src/charon/processing/processor.h index 342cfa048..0889f542f 100644 --- a/src/charon/processing/processor.h +++ b/src/charon/processing/processor.h @@ -93,4 +93,4 @@ struct processor_t { */ processor_t *processor_create(); -#endif /*PROCESSOR_H_ @} */ +#endif /** PROCESSOR_H_ @}*/ diff --git a/src/charon/processing/scheduler.h b/src/charon/processing/scheduler.h index 441f053cf..33755385d 100644 --- a/src/charon/processing/scheduler.h +++ b/src/charon/processing/scheduler.h @@ -66,4 +66,4 @@ struct scheduler_t { */ scheduler_t *scheduler_create(void); -#endif /*SCHEDULER_H_ @} */ +#endif /** SCHEDULER_H_ @}*/ diff --git a/src/charon/sa/authenticators/authenticator.h b/src/charon/sa/authenticators/authenticator.h index bf264d4e4..cd42191e6 100644 --- a/src/charon/sa/authenticators/authenticator.h +++ b/src/charon/sa/authenticators/authenticator.h @@ -162,4 +162,4 @@ authenticator_t *authenticator_create_from_class(ike_sa_t *ike_sa, authenticator_t *authenticator_create_from_method(ike_sa_t *ike_sa, auth_method_t method); -#endif /* AUTHENTICATOR_H_ @} */ +#endif /** AUTHENTICATOR_H_ @}*/ diff --git a/src/charon/sa/authenticators/eap/eap_manager.h b/src/charon/sa/authenticators/eap/eap_manager.h index 273734582..4846c7b30 100644 --- a/src/charon/sa/authenticators/eap/eap_manager.h +++ b/src/charon/sa/authenticators/eap/eap_manager.h @@ -81,4 +81,4 @@ struct eap_manager_t { */ eap_manager_t *eap_manager_create(); -#endif /* EAP_MANAGER_H_ @}*/ +#endif /** EAP_MANAGER_H_ @}*/ diff --git a/src/charon/sa/authenticators/eap/eap_method.h b/src/charon/sa/authenticators/eap/eap_method.h index c3f7c4862..1aa6162ee 100644 --- a/src/charon/sa/authenticators/eap/eap_method.h +++ b/src/charon/sa/authenticators/eap/eap_method.h @@ -187,4 +187,4 @@ struct eap_method_t { typedef eap_method_t *(*eap_constructor_t)(identification_t *server, identification_t *peer); -#endif /* EAP_METHOD_H_ @} */ +#endif /** EAP_METHOD_H_ @}*/ diff --git a/src/charon/sa/authenticators/eap/sim_manager.h b/src/charon/sa/authenticators/eap/sim_manager.h index 7fb1f2858..69a2e4df9 100644 --- a/src/charon/sa/authenticators/eap/sim_manager.h +++ b/src/charon/sa/authenticators/eap/sim_manager.h @@ -133,4 +133,4 @@ struct sim_manager_t { */ sim_manager_t *sim_manager_create(); -#endif /* SIM_MANAGER_H_ @}*/ +#endif /** SIM_MANAGER_H_ @}*/ diff --git a/src/charon/sa/authenticators/eap_authenticator.h b/src/charon/sa/authenticators/eap_authenticator.h index c98771c76..0aaa07f35 100644 --- a/src/charon/sa/authenticators/eap_authenticator.h +++ b/src/charon/sa/authenticators/eap_authenticator.h @@ -144,4 +144,4 @@ struct eap_authenticator_t { */ eap_authenticator_t *eap_authenticator_create(ike_sa_t *ike_sa); -#endif /* EAP_AUTHENTICATOR_H_ @} */ +#endif /** EAP_AUTHENTICATOR_H_ @}*/ diff --git a/src/charon/sa/authenticators/psk_authenticator.h b/src/charon/sa/authenticators/psk_authenticator.h index 366678f5d..9849acdbc 100644 --- a/src/charon/sa/authenticators/psk_authenticator.h +++ b/src/charon/sa/authenticators/psk_authenticator.h @@ -46,4 +46,4 @@ struct psk_authenticator_t { */ psk_authenticator_t *psk_authenticator_create(ike_sa_t *ike_sa); -#endif /* PSK_AUTHENTICATOR_H_ @} */ +#endif /** PSK_AUTHENTICATOR_H_ @}*/ diff --git a/src/charon/sa/authenticators/pubkey_authenticator.h b/src/charon/sa/authenticators/pubkey_authenticator.h index de5708c47..4a2d9e219 100644 --- a/src/charon/sa/authenticators/pubkey_authenticator.h +++ b/src/charon/sa/authenticators/pubkey_authenticator.h @@ -47,4 +47,4 @@ struct pubkey_authenticator_t { */ pubkey_authenticator_t *pubkey_authenticator_create(ike_sa_t *ike_sa); -#endif /* PUBKEY_AUTHENTICATOR_H_ @} */ +#endif /** PUBKEY_AUTHENTICATOR_H_ @}*/ diff --git a/src/charon/sa/child_sa.h b/src/charon/sa/child_sa.h index 7e180b7ee..cb20c5e3c 100644 --- a/src/charon/sa/child_sa.h +++ b/src/charon/sa/child_sa.h @@ -323,8 +323,6 @@ struct child_sa_t { * * @param me own address * @param other remote address - * @param my_id id of own peer - * @param other_id id of remote peer * @param config config to use for this CHILD_SA * @param reqid reqid of old CHILD_SA when rekeying, 0 otherwise * @param encap TRUE to enable UDP encapsulation (NAT traversal) @@ -333,4 +331,4 @@ struct child_sa_t { child_sa_t * child_sa_create(host_t *me, host_t *other, child_cfg_t *config, u_int32_t reqid, bool encap); -#endif /*CHILD_SA_H_ @} */ +#endif /** CHILD_SA_H_ @}*/ diff --git a/src/charon/sa/connect_manager.h b/src/charon/sa/connect_manager.h index a98fc1b13..9d8ac7c13 100644 --- a/src/charon/sa/connect_manager.h +++ b/src/charon/sa/connect_manager.h @@ -120,4 +120,4 @@ struct connect_manager_t { */ connect_manager_t *connect_manager_create(void); -#endif /*CONNECT_MANAGER_H_ @} */ +#endif /** CONNECT_MANAGER_H_ @}*/ diff --git a/src/charon/sa/ike_sa.h b/src/charon/sa/ike_sa.h index f9c264749..2430f00a0 100644 --- a/src/charon/sa/ike_sa.h +++ b/src/charon/sa/ike_sa.h @@ -920,4 +920,4 @@ struct ike_sa_t { */ ike_sa_t *ike_sa_create(ike_sa_id_t *ike_sa_id); -#endif /* IKE_SA_H_ @} */ +#endif /** IKE_SA_H_ @}*/ diff --git a/src/charon/sa/ike_sa_id.h b/src/charon/sa/ike_sa_id.h index 3d7923539..692d70a9c 100644 --- a/src/charon/sa/ike_sa_id.h +++ b/src/charon/sa/ike_sa_id.h @@ -125,4 +125,4 @@ struct ike_sa_id_t { ike_sa_id_t * ike_sa_id_create(u_int64_t initiator_spi, u_int64_t responder_spi, bool is_initiaor); -#endif /*IKE_SA_ID_H_ @} */ +#endif /** IKE_SA_ID_H_ @}*/ diff --git a/src/charon/sa/ike_sa_manager.h b/src/charon/sa/ike_sa_manager.h index d10901ec5..d487a0a17 100644 --- a/src/charon/sa/ike_sa_manager.h +++ b/src/charon/sa/ike_sa_manager.h @@ -216,4 +216,4 @@ struct ike_sa_manager_t { */ ike_sa_manager_t *ike_sa_manager_create(void); -#endif /*IKE_SA_MANAGER_H_ @} */ +#endif /** IKE_SA_MANAGER_H_ @}*/ diff --git a/src/charon/sa/keymat.h b/src/charon/sa/keymat.h index 0d6d08f51..659e4dff2 100644 --- a/src/charon/sa/keymat.h +++ b/src/charon/sa/keymat.h @@ -162,4 +162,4 @@ struct keymat_t { */ keymat_t *keymat_create(bool initiator); -#endif /* KEYMAT_ @}*/ +#endif /** KEYMAT_ @}*/ diff --git a/src/charon/sa/mediation_manager.h b/src/charon/sa/mediation_manager.h index 7b6074170..3e1a2d79a 100644 --- a/src/charon/sa/mediation_manager.h +++ b/src/charon/sa/mediation_manager.h @@ -88,4 +88,4 @@ struct mediation_manager_t { */ mediation_manager_t *mediation_manager_create(void); -#endif /*MEDIATION_MANAGER_H_ @} */ +#endif /** MEDIATION_MANAGER_H_ @}*/ diff --git a/src/charon/sa/task_manager.h b/src/charon/sa/task_manager.h index b35b44fa4..7de249ff9 100644 --- a/src/charon/sa/task_manager.h +++ b/src/charon/sa/task_manager.h @@ -87,7 +87,7 @@ typedef struct task_manager_t task_manager_t; 4s * (1.8 ** 4) = 42s 89s 4s * (1.8 ** 5) = 76s 165s - @endberbatim + @endverbatim * The peer is considered dead after 2min 45s when no reply comes in. */ struct task_manager_t { @@ -172,4 +172,4 @@ struct task_manager_t { */ task_manager_t *task_manager_create(ike_sa_t *ike_sa); -#endif /* TASK_MANAGER_H_ @} */ +#endif /** TASK_MANAGER_H_ @}*/ diff --git a/src/charon/sa/tasks/child_create.h b/src/charon/sa/tasks/child_create.h index 1a14cd5f9..c0a620c8c 100644 --- a/src/charon/sa/tasks/child_create.h +++ b/src/charon/sa/tasks/child_create.h @@ -77,4 +77,4 @@ struct child_create_t { */ child_create_t *child_create_create(ike_sa_t *ike_sa, child_cfg_t *config); -#endif /* CHILD_CREATE_H_ @} */ +#endif /** CHILD_CREATE_H_ @}*/ diff --git a/src/charon/sa/tasks/child_delete.h b/src/charon/sa/tasks/child_delete.h index 9503ff0e6..dd47ba043 100644 --- a/src/charon/sa/tasks/child_delete.h +++ b/src/charon/sa/tasks/child_delete.h @@ -59,4 +59,4 @@ struct child_delete_t { child_delete_t *child_delete_create(ike_sa_t *ike_sa, protocol_id_t protocol, u_int32_t spi); -#endif /* CHILD_DELETE_H_ @} */ +#endif /** CHILD_DELETE_H_ @}*/ diff --git a/src/charon/sa/tasks/child_rekey.h b/src/charon/sa/tasks/child_rekey.h index b0c4cec2e..fc0634e71 100644 --- a/src/charon/sa/tasks/child_rekey.h +++ b/src/charon/sa/tasks/child_rekey.h @@ -63,4 +63,4 @@ struct child_rekey_t { child_rekey_t *child_rekey_create(ike_sa_t *ike_sa, protocol_id_t protocol, u_int32_t spi); -#endif /* CHILD_REKEY_H_ @} */ +#endif /** CHILD_REKEY_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_auth.h b/src/charon/sa/tasks/ike_auth.h index f44aa7ce6..c8831562d 100644 --- a/src/charon/sa/tasks/ike_auth.h +++ b/src/charon/sa/tasks/ike_auth.h @@ -56,4 +56,4 @@ struct ike_auth_t { */ ike_auth_t *ike_auth_create(ike_sa_t *ike_sa, bool initiator); -#endif /* IKE_AUTH_H_ @} */ +#endif /** IKE_AUTH_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_auth_lifetime.h b/src/charon/sa/tasks/ike_auth_lifetime.h index df69ce29c..af352ce85 100644 --- a/src/charon/sa/tasks/ike_auth_lifetime.h +++ b/src/charon/sa/tasks/ike_auth_lifetime.h @@ -52,4 +52,4 @@ struct ike_auth_lifetime_t { */ ike_auth_lifetime_t *ike_auth_lifetime_create(ike_sa_t *ike_sa, bool initiator); -#endif /* IKE_MOBIKE_H_ @} */ +#endif /** IKE_MOBIKE_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_cert_post.h b/src/charon/sa/tasks/ike_cert_post.h index 3291d9ab3..61b1be251 100644 --- a/src/charon/sa/tasks/ike_cert_post.h +++ b/src/charon/sa/tasks/ike_cert_post.h @@ -52,4 +52,4 @@ struct ike_cert_post_t { */ ike_cert_post_t *ike_cert_post_create(ike_sa_t *ike_sa, bool initiator); -#endif /* IKE_CERT_POST_H_ @} */ +#endif /** IKE_CERT_POST_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_cert_pre.h b/src/charon/sa/tasks/ike_cert_pre.h index c7422e629..56f73b8c7 100644 --- a/src/charon/sa/tasks/ike_cert_pre.h +++ b/src/charon/sa/tasks/ike_cert_pre.h @@ -52,4 +52,4 @@ struct ike_cert_pre_t { */ ike_cert_pre_t *ike_cert_pre_create(ike_sa_t *ike_sa, bool initiator); -#endif /* IKE_CERT_PRE_H_ @} */ +#endif /** IKE_CERT_PRE_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_config.h b/src/charon/sa/tasks/ike_config.h index 9ee2f59be..41d01f362 100644 --- a/src/charon/sa/tasks/ike_config.h +++ b/src/charon/sa/tasks/ike_config.h @@ -50,4 +50,4 @@ struct ike_config_t { */ ike_config_t *ike_config_create(ike_sa_t *ike_sa, bool initiator); -#endif /* IKE_CONFIG_H_ @} */ +#endif /** IKE_CONFIG_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_delete.h b/src/charon/sa/tasks/ike_delete.h index f9cb4dc64..346b7232b 100644 --- a/src/charon/sa/tasks/ike_delete.h +++ b/src/charon/sa/tasks/ike_delete.h @@ -49,4 +49,4 @@ struct ike_delete_t { */ ike_delete_t *ike_delete_create(ike_sa_t *ike_sa, bool initiator); -#endif /* IKE_DELETE_H_ @} */ +#endif /** IKE_DELETE_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_dpd.h b/src/charon/sa/tasks/ike_dpd.h index 56bbee399..7fc78d85b 100644 --- a/src/charon/sa/tasks/ike_dpd.h +++ b/src/charon/sa/tasks/ike_dpd.h @@ -50,4 +50,4 @@ struct ike_dpd_t { */ ike_dpd_t *ike_dpd_create(bool initiator); -#endif /* IKE_DPD_H_ @} */ +#endif /** IKE_DPD_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_init.h b/src/charon/sa/tasks/ike_init.h index 67afd2b8d..f2f5bc4a7 100644 --- a/src/charon/sa/tasks/ike_init.h +++ b/src/charon/sa/tasks/ike_init.h @@ -59,4 +59,4 @@ struct ike_init_t { */ ike_init_t *ike_init_create(ike_sa_t *ike_sa, bool initiator, ike_sa_t *old_sa); -#endif /* IKE_INIT_H_ @} */ +#endif /** IKE_INIT_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_me.h b/src/charon/sa/tasks/ike_me.h index 7fdc7243f..658bab971 100644 --- a/src/charon/sa/tasks/ike_me.h +++ b/src/charon/sa/tasks/ike_me.h @@ -97,4 +97,4 @@ struct ike_me_t { */ ike_me_t *ike_me_create(ike_sa_t *ike_sa, bool initiator); -#endif /*IKE_ME_H_ @} */ +#endif /** IKE_ME_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_mobike.h b/src/charon/sa/tasks/ike_mobike.h index 81bdd0f74..7922512b5 100644 --- a/src/charon/sa/tasks/ike_mobike.h +++ b/src/charon/sa/tasks/ike_mobike.h @@ -87,4 +87,4 @@ struct ike_mobike_t { */ ike_mobike_t *ike_mobike_create(ike_sa_t *ike_sa, bool initiator); -#endif /* IKE_MOBIKE_H_ @} */ +#endif /** IKE_MOBIKE_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_natd.h b/src/charon/sa/tasks/ike_natd.h index cb132d0c2..dbf5763fb 100644 --- a/src/charon/sa/tasks/ike_natd.h +++ b/src/charon/sa/tasks/ike_natd.h @@ -58,4 +58,4 @@ struct ike_natd_t { */ ike_natd_t *ike_natd_create(ike_sa_t *ike_sa, bool initiator); -#endif /* IKE_NATD_H_ @} */ +#endif /** IKE_NATD_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_reauth.h b/src/charon/sa/tasks/ike_reauth.h index f5599fd76..11fa66e65 100644 --- a/src/charon/sa/tasks/ike_reauth.h +++ b/src/charon/sa/tasks/ike_reauth.h @@ -50,4 +50,4 @@ struct ike_reauth_t { */ ike_reauth_t *ike_reauth_create(ike_sa_t *ike_sa); -#endif /* IKE_REAUTH_H_ @} */ +#endif /** IKE_REAUTH_H_ @}*/ diff --git a/src/charon/sa/tasks/ike_rekey.h b/src/charon/sa/tasks/ike_rekey.h index 06889cb39..05a97bf3d 100644 --- a/src/charon/sa/tasks/ike_rekey.h +++ b/src/charon/sa/tasks/ike_rekey.h @@ -60,4 +60,4 @@ struct ike_rekey_t { */ ike_rekey_t *ike_rekey_create(ike_sa_t *ike_sa, bool initiator); -#endif /* IKE_REKEY_H_ @} */ +#endif /** IKE_REKEY_H_ @}*/ diff --git a/src/charon/sa/tasks/task.h b/src/charon/sa/tasks/task.h index d2854701e..939424443 100644 --- a/src/charon/sa/tasks/task.h +++ b/src/charon/sa/tasks/task.h @@ -145,4 +145,4 @@ struct task_t { void (*destroy) (task_t *this); }; -#endif /* TASK_H_ @} */ +#endif /** TASK_H_ @}*/ diff --git a/src/libfast/context.h b/src/libfast/context.h index 6b9e83310..b8bd2ff9f 100644 --- a/src/libfast/context.h +++ b/src/libfast/context.h @@ -41,4 +41,4 @@ struct context_t { void (*destroy) (context_t *this); }; -#endif /* CONTEXT_H_ @}*/ +#endif /** CONTEXT_H_ @}*/ diff --git a/src/libfast/controller.h b/src/libfast/controller.h index 9ac641fef..27513abe0 100644 --- a/src/libfast/controller.h +++ b/src/libfast/controller.h @@ -76,4 +76,4 @@ struct controller_t { void (*destroy) (controller_t *this); }; -#endif /* CONTROLLER_H_ @} */ +#endif /** CONTROLLER_H_ @}*/ diff --git a/src/libfast/dispatcher.h b/src/libfast/dispatcher.h index b792fb647..be506f269 100644 --- a/src/libfast/dispatcher.h +++ b/src/libfast/dispatcher.h @@ -136,4 +136,4 @@ struct dispatcher_t { dispatcher_t *dispatcher_create(char *socket, bool debug, int timeout, context_constructor_t constructor, void *param); -#endif /* DISPATCHER_H_ @} */ +#endif /** DISPATCHER_H_ @}*/ diff --git a/src/libfast/request.h b/src/libfast/request.h index d73477a5a..77730b3eb 100644 --- a/src/libfast/request.h +++ b/src/libfast/request.h @@ -183,4 +183,4 @@ struct request_t { */ request_t *request_create(int fd, bool debug); -#endif /* REQUEST_H_ @} */ +#endif /** REQUEST_H_ @}*/ diff --git a/src/libfast/session.h b/src/libfast/session.h index 98d7ee3ce..4024716a6 100644 --- a/src/libfast/session.h +++ b/src/libfast/session.h @@ -77,4 +77,4 @@ struct session_t { */ session_t *session_create(context_t *context); -#endif /* SESSION_H_ @} */ +#endif /** SESSION_H_ @}*/ diff --git a/src/libstrongswan/asn1/asn1.h b/src/libstrongswan/asn1/asn1.h index 5c0222347..eb039665c 100644 --- a/src/libstrongswan/asn1/asn1.h +++ b/src/libstrongswan/asn1/asn1.h @@ -110,7 +110,7 @@ int asn1_known_oid(chunk_t object); * Returns the length of an ASN.1 object * The blob pointer is advanced past the tag length fields * - * @param pointer to an ASN.1 coded blob + * @param blob pointer to an ASN.1 coded blob * @return length of ASN.1 object */ u_int asn1_length(chunk_t *blob); @@ -168,7 +168,7 @@ chunk_t asn1_from_time(const time_t *time, asn1_t type); * Parse an ASN.1 UTCTIME or GENERALIZEDTIME object * * @param blob ASN.1 coded time object - * @param level top-most level offset + * @param level0 top-most level offset * @return time_t in UTC */ time_t asn1_parse_time(chunk_t blob, int level0); @@ -223,10 +223,10 @@ chunk_t asn1_bitstring(const char *mode, chunk_t content); /** * Build an ASN.1 object from a variable number of individual chunks * - * @param typ ASN.1 type to be created + * @param type ASN.1 type to be created * @param mode for each list member: 'c' for copy or 'm' for move * @return chunk containing the ASN.1 coded object */ chunk_t asn1_wrap(asn1_t type, const char *mode, ...); -#endif /* ASN1_H_ @}*/ +#endif /** ASN1_H_ @}*/ diff --git a/src/libstrongswan/asn1/asn1_parser.h b/src/libstrongswan/asn1/asn1_parser.h index 29035bf00..f0e21125c 100644 --- a/src/libstrongswan/asn1/asn1_parser.h +++ b/src/libstrongswan/asn1/asn1_parser.h @@ -116,4 +116,4 @@ struct asn1_parser_t { */ asn1_parser_t* asn1_parser_create(asn1Object_t const *objects, chunk_t blob); -#endif /* ASN1_PARSER_H_ @}*/ +#endif /** ASN1_PARSER_H_ @}*/ diff --git a/src/libstrongswan/chunk.h b/src/libstrongswan/chunk.h index 613a093dc..b405f5803 100644 --- a/src/libstrongswan/chunk.h +++ b/src/libstrongswan/chunk.h @@ -92,11 +92,11 @@ bool chunk_write(chunk_t chunk, char *path, mode_t mask, bool force); /** * Convert a chunk of data to hex encoding. * - * The resulting string is '\0' terminated, but the chunk does not include - * the '\0'. If buf is supplied, it must hold at least (chunk.len * 2 + 1). + * The resulting string is '\\0' terminated, but the chunk does not include + * the '\\0'. If buf is supplied, it must hold at least (chunk.len * 2 + 1). * * @param chunk data to convert - * @param buff buffer to write to, NULL to malloc + * @param buf buffer to write to, NULL to malloc * @param uppercase TRUE to use uppercase letters * @return chunk of encoded data */ @@ -117,11 +117,11 @@ chunk_t chunk_from_hex(chunk_t hex, char *buf); /** * Convert a chunk of data to its base64 encoding. * - * The resulting string is '\0' terminated, but the chunk does not include - * the '\0'. If buf is supplied, it must hold at least (chunk.len * 4 / 3 + 1). + * The resulting string is '\\0' terminated, but the chunk does not include + * the '\\0'. If buf is supplied, it must hold at least (chunk.len * 4 / 3 + 1). * * @param chunk data to convert - * @param buff buffer to write to, NULL to malloc + * @param buf buffer to write to, NULL to malloc * @return chunk of encoded data */ chunk_t chunk_to_base64(chunk_t chunk, char *buf); @@ -249,4 +249,4 @@ u_int32_t chunk_hash_inc(chunk_t chunk, u_int32_t hash); int chunk_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec, const void *const *args); -#endif /* CHUNK_H_ @}*/ +#endif /** CHUNK_H_ @}*/ diff --git a/src/libstrongswan/credentials/builder.h b/src/libstrongswan/credentials/builder.h index 332d52d52..4b3fb1ae4 100644 --- a/src/libstrongswan/credentials/builder.h +++ b/src/libstrongswan/credentials/builder.h @@ -129,4 +129,4 @@ struct builder_t { */ void* builder_free(builder_t *this); -#endif /* BUILDER_H_ @}*/ +#endif /** BUILDER_H_ @}*/ diff --git a/src/libstrongswan/credentials/certificates/ac.h b/src/libstrongswan/credentials/certificates/ac.h index 4e33390bb..39ab8fe71 100644 --- a/src/libstrongswan/credentials/certificates/ac.h +++ b/src/libstrongswan/credentials/certificates/ac.h @@ -82,5 +82,4 @@ struct ac_t { bool (*equals_holder) (ac_t *this, ac_t *other); }; -#endif /* AC_H_ @}*/ - +#endif /** AC_H_ @}*/ diff --git a/src/libstrongswan/credentials/certificates/certificate.h b/src/libstrongswan/credentials/certificates/certificate.h index 14f4de389..1fb151d9f 100644 --- a/src/libstrongswan/credentials/certificates/certificate.h +++ b/src/libstrongswan/credentials/certificates/certificate.h @@ -189,4 +189,4 @@ struct certificate_t { void (*destroy)(certificate_t *this); }; -#endif /* CERTIFICATE_H_ @}*/ +#endif /** CERTIFICATE_H_ @}*/ diff --git a/src/libstrongswan/credentials/certificates/crl.h b/src/libstrongswan/credentials/certificates/crl.h index 78c9d86f9..dd087541f 100644 --- a/src/libstrongswan/credentials/certificates/crl.h +++ b/src/libstrongswan/credentials/certificates/crl.h @@ -85,4 +85,4 @@ struct crl_t { }; -#endif /* CRL_H_ @}*/ +#endif /** CRL_H_ @}*/ diff --git a/src/libstrongswan/credentials/certificates/ocsp_request.h b/src/libstrongswan/credentials/certificates/ocsp_request.h index 377eabd23..25ecb8d35 100644 --- a/src/libstrongswan/credentials/certificates/ocsp_request.h +++ b/src/libstrongswan/credentials/certificates/ocsp_request.h @@ -38,4 +38,4 @@ struct ocsp_request_t { certificate_t interface; }; -#endif /* OCSP_REQUEST_H_ @}*/ +#endif /** OCSP_REQUEST_H_ @}*/ diff --git a/src/libstrongswan/credentials/certificates/ocsp_response.h b/src/libstrongswan/credentials/certificates/ocsp_response.h index 416f712f3..3c9794956 100644 --- a/src/libstrongswan/credentials/certificates/ocsp_response.h +++ b/src/libstrongswan/credentials/certificates/ocsp_response.h @@ -81,4 +81,4 @@ struct ocsp_response_t { enumerator_t* (*create_cert_enumerator)(ocsp_response_t *this); }; -#endif /* OCSP_RESPONSE_H_ @}*/ +#endif /** OCSP_RESPONSE_H_ @}*/ diff --git a/src/libstrongswan/credentials/certificates/x509.h b/src/libstrongswan/credentials/certificates/x509.h index 3a90db53c..b4b32f41b 100644 --- a/src/libstrongswan/credentials/certificates/x509.h +++ b/src/libstrongswan/credentials/certificates/x509.h @@ -104,4 +104,4 @@ struct x509_t { enumerator_t* (*create_ocsp_uri_enumerator)(x509_t *this); }; -#endif /* X509_H_ @}*/ +#endif /** X509_H_ @}*/ diff --git a/src/libstrongswan/credentials/credential_factory.h b/src/libstrongswan/credentials/credential_factory.h index dc4d62679..42fb2df6d 100644 --- a/src/libstrongswan/credentials/credential_factory.h +++ b/src/libstrongswan/credentials/credential_factory.h @@ -109,4 +109,4 @@ struct credential_factory_t { */ credential_factory_t *credential_factory_create(); -#endif /* CREDENTIAL_FACTORY_H_ @}*/ +#endif /** CREDENTIAL_FACTORY_H_ @}*/ diff --git a/src/libstrongswan/credentials/keys/private_key.h b/src/libstrongswan/credentials/keys/private_key.h index e6987459c..cd7335fe3 100644 --- a/src/libstrongswan/credentials/keys/private_key.h +++ b/src/libstrongswan/credentials/keys/private_key.h @@ -111,4 +111,4 @@ struct private_key_t { void (*destroy)(private_key_t *this); }; -#endif /* PRIVATE_KEY_H_ @} */ +#endif /** PRIVATE_KEY_H_ @}*/ diff --git a/src/libstrongswan/credentials/keys/public_key.h b/src/libstrongswan/credentials/keys/public_key.h index b96ae9db3..0d8ab7b3f 100644 --- a/src/libstrongswan/credentials/keys/public_key.h +++ b/src/libstrongswan/credentials/keys/public_key.h @@ -152,4 +152,4 @@ struct public_key_t { void (*destroy)(public_key_t *this); }; -#endif /* PUBLIC_KEY_H_ @} */ +#endif /** PUBLIC_KEY_H_ @}*/ diff --git a/src/libstrongswan/crypto/crypters/crypter.h b/src/libstrongswan/crypto/crypters/crypter.h index 13e99d339..faba302b3 100644 --- a/src/libstrongswan/crypto/crypters/crypter.h +++ b/src/libstrongswan/crypto/crypters/crypter.h @@ -122,4 +122,4 @@ struct crypter_t { void (*destroy) (crypter_t *this); }; -#endif /*CRYPTER_H_ @} */ +#endif /** CRYPTER_H_ @}*/ diff --git a/src/libstrongswan/crypto/crypto_factory.h b/src/libstrongswan/crypto/crypto_factory.h index cdb9b47ba..e2d2de71a 100644 --- a/src/libstrongswan/crypto/crypto_factory.h +++ b/src/libstrongswan/crypto/crypto_factory.h @@ -267,4 +267,4 @@ struct crypto_factory_t { */ crypto_factory_t *crypto_factory_create(); -#endif /* CRYPTO_FACTORY_H_ @}*/ +#endif /** CRYPTO_FACTORY_H_ @}*/ diff --git a/src/libstrongswan/crypto/diffie_hellman.h b/src/libstrongswan/crypto/diffie_hellman.h index 04ed9eaeb..9a7c266a7 100644 --- a/src/libstrongswan/crypto/diffie_hellman.h +++ b/src/libstrongswan/crypto/diffie_hellman.h @@ -108,4 +108,4 @@ struct diffie_hellman_t { void (*destroy) (diffie_hellman_t *this); }; -#endif /*DIFFIE_HELLMAN_H_ @} */ +#endif /** DIFFIE_HELLMAN_H_ @}*/ diff --git a/src/libstrongswan/crypto/hashers/hasher.h b/src/libstrongswan/crypto/hashers/hasher.h index 271d8706e..14363dde6 100644 --- a/src/libstrongswan/crypto/hashers/hasher.h +++ b/src/libstrongswan/crypto/hashers/hasher.h @@ -133,4 +133,4 @@ int hasher_algorithm_to_oid(hash_algorithm_t alg); */ int hasher_signature_algorithm_to_oid(hash_algorithm_t alg); -#endif /* HASHER_H_ @} */ +#endif /** HASHER_H_ @}*/ diff --git a/src/libstrongswan/crypto/pkcs7.h b/src/libstrongswan/crypto/pkcs7.h index a7a394027..ce3a6acb6 100644 --- a/src/libstrongswan/crypto/pkcs7.h +++ b/src/libstrongswan/crypto/pkcs7.h @@ -22,8 +22,8 @@ * @{ @ingroup crypto */ -#ifndef _PKCS7_H_ -#define _PKCS7_H_ +#ifndef PKCS7_H_ +#define PKCS7_H_ typedef struct pkcs7_t pkcs7_t; @@ -163,7 +163,7 @@ pkcs7_t *pkcs7_create_from_chunk(chunk_t chunk, u_int level); /** * Create a PKCS#7 contentInfo object * - * @param chunk chunk containing data + * @param data chunk containing data * @return created pkcs7_contentInfo object. */ pkcs7_t *pkcs7_create_from_data(chunk_t data); @@ -177,4 +177,4 @@ pkcs7_t *pkcs7_create_from_data(chunk_t data); */ pkcs7_t *pkcs7_create_from_file(const char *filename, const char *label); -#endif /* _PKCS7_H_ @} */ +#endif /** PKCS7_H_ @}*/ diff --git a/src/libstrongswan/crypto/pkcs9.h b/src/libstrongswan/crypto/pkcs9.h index e5e22bf63..e3390543d 100644 --- a/src/libstrongswan/crypto/pkcs9.h +++ b/src/libstrongswan/crypto/pkcs9.h @@ -92,9 +92,8 @@ pkcs9_t *pkcs9_create_from_chunk(chunk_t chunk, u_int level); /** * Create an empty PKCS#9 attribute list * - * @param chunk chunk containing data * @return created pkcs9 attribute list. */ pkcs9_t *pkcs9_create(void); -#endif /* PKCS9_H_ @} */ +#endif /** PKCS9_H_ @}*/ diff --git a/src/libstrongswan/crypto/prf_plus.h b/src/libstrongswan/crypto/prf_plus.h index 9e074974c..e6ad9f167 100644 --- a/src/libstrongswan/crypto/prf_plus.h +++ b/src/libstrongswan/crypto/prf_plus.h @@ -77,4 +77,4 @@ struct prf_plus_t { */ prf_plus_t *prf_plus_create(prf_t *prf, chunk_t seed); -#endif /*PRF_PLUS_H_ @} */ +#endif /** PRF_PLUS_H_ @}*/ diff --git a/src/libstrongswan/crypto/prfs/prf.h b/src/libstrongswan/crypto/prfs/prf.h index b412ed588..2a62eb573 100644 --- a/src/libstrongswan/crypto/prfs/prf.h +++ b/src/libstrongswan/crypto/prfs/prf.h @@ -115,4 +115,4 @@ struct prf_t { void (*destroy) (prf_t *this); }; -#endif /*PRF_H_ @} */ +#endif /** PRF_H_ @}*/ diff --git a/src/libstrongswan/crypto/rngs/rng.h b/src/libstrongswan/crypto/rngs/rng.h index 08f7af209..1c4d204f3 100644 --- a/src/libstrongswan/crypto/rngs/rng.h +++ b/src/libstrongswan/crypto/rngs/rng.h @@ -72,4 +72,4 @@ struct rng_t { void (*destroy) (rng_t *this); }; -#endif /*RNG_H_ @} */ +#endif /** RNG_H_ @}*/ diff --git a/src/libstrongswan/crypto/signers/signer.h b/src/libstrongswan/crypto/signers/signer.h index bafcd6b8c..9bde09461 100644 --- a/src/libstrongswan/crypto/signers/signer.h +++ b/src/libstrongswan/crypto/signers/signer.h @@ -122,4 +122,4 @@ struct signer_t { void (*destroy) (signer_t *this); }; -#endif /*SIGNER_H_ @} */ +#endif /** SIGNER_H_ @}*/ diff --git a/src/libstrongswan/database/database.h b/src/libstrongswan/database/database.h index 39f909cd7..16472d869 100644 --- a/src/libstrongswan/database/database.h +++ b/src/libstrongswan/database/database.h @@ -120,4 +120,4 @@ struct database_t { void (*destroy)(database_t *this); }; -#endif /* DATABASE_H_ @}*/ +#endif /** DATABASE_H_ @}*/ diff --git a/src/libstrongswan/database/database_factory.h b/src/libstrongswan/database/database_factory.h index 358f49054..8875adad7 100644 --- a/src/libstrongswan/database/database_factory.h +++ b/src/libstrongswan/database/database_factory.h @@ -70,4 +70,4 @@ struct database_factory_t { */ database_factory_t *database_factory_create(); -#endif /* DATABASE_FACTORY_H_ @}*/ +#endif /** DATABASE_FACTORY_H_ @}*/ diff --git a/src/libstrongswan/debug.h b/src/libstrongswan/debug.h index 611569c7a..705f5e950 100644 --- a/src/libstrongswan/debug.h +++ b/src/libstrongswan/debug.h @@ -60,4 +60,4 @@ extern void (*dbg) (int level, char *fmt, ...); /** default logging function, prints to stderr */ void dbg_default(int level, char *fmt, ...); -#endif /* DEBUG_H_ @} */ +#endif /** DEBUG_H_ @}*/ diff --git a/src/libstrongswan/enum.h b/src/libstrongswan/enum.h index d585a1b0c..b7aae3817 100644 --- a/src/libstrongswan/enum.h +++ b/src/libstrongswan/enum.h @@ -117,4 +117,4 @@ struct enum_name_t { int enum_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec, const void *const *args); -#endif /* ENUM_H_ @}*/ +#endif /** ENUM_H_ @}*/ diff --git a/src/libstrongswan/fetcher/fetcher.h b/src/libstrongswan/fetcher/fetcher.h index 4fc37e35e..9a7cc315e 100644 --- a/src/libstrongswan/fetcher/fetcher.h +++ b/src/libstrongswan/fetcher/fetcher.h @@ -102,4 +102,4 @@ struct fetcher_t { void (*destroy)(fetcher_t *this); }; -#endif /* FETCHER_H_ @}*/ +#endif /** FETCHER_H_ @}*/ diff --git a/src/libstrongswan/fetcher/fetcher_manager.h b/src/libstrongswan/fetcher/fetcher_manager.h index e94d44494..183964d6c 100644 --- a/src/libstrongswan/fetcher/fetcher_manager.h +++ b/src/libstrongswan/fetcher/fetcher_manager.h @@ -71,4 +71,4 @@ struct fetcher_manager_t { */ fetcher_manager_t *fetcher_manager_create(); -#endif /* FETCHER_MANAGER_H_ @}*/ +#endif /** FETCHER_MANAGER_H_ @}*/ diff --git a/src/libstrongswan/fips/fips.h b/src/libstrongswan/fips/fips.h index 0157453cd..32381e76e 100644 --- a/src/libstrongswan/fips/fips.h +++ b/src/libstrongswan/fips/fips.h @@ -43,4 +43,4 @@ bool fips_compute_hmac_signature(const char *key, char *signature); */ bool fips_verify_hmac_signature(const char *key, const char *signature); -#endif /*FIPS_H_ @} */ +#endif /** FIPS_H_ @}*/ diff --git a/src/libstrongswan/library.h b/src/libstrongswan/library.h index 9824e4e3b..b1b6f51a1 100644 --- a/src/libstrongswan/library.h +++ b/src/libstrongswan/library.h @@ -132,4 +132,4 @@ void library_deinit(); */ extern library_t *lib; -#endif /* LIBRARY_H_ @}*/ +#endif /** LIBRARY_H_ @}*/ diff --git a/src/libstrongswan/plugins/aes/aes_crypter.h b/src/libstrongswan/plugins/aes/aes_crypter.h index e42a6bc5b..19ea6b4b7 100644 --- a/src/libstrongswan/plugins/aes/aes_crypter.h +++ b/src/libstrongswan/plugins/aes/aes_crypter.h @@ -47,4 +47,4 @@ struct aes_crypter_t { aes_crypter_t *aes_crypter_create(encryption_algorithm_t algo, size_t key_size); -#endif /* AES_CRYPTER_H_ @}*/ +#endif /** AES_CRYPTER_H_ @}*/ diff --git a/src/libstrongswan/plugins/aes/aes_plugin.h b/src/libstrongswan/plugins/aes/aes_plugin.h index 4cf0bc15e..a6ff620ed 100644 --- a/src/libstrongswan/plugins/aes/aes_plugin.h +++ b/src/libstrongswan/plugins/aes/aes_plugin.h @@ -44,4 +44,4 @@ struct aes_plugin_t { */ plugin_t *plugin_create(); -#endif /* AES_PLUGIN_H_ @}*/ +#endif /** AES_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/agent/agent_plugin.h b/src/libstrongswan/plugins/agent/agent_plugin.h index d12dd44ac..33a5dcb53 100644 --- a/src/libstrongswan/plugins/agent/agent_plugin.h +++ b/src/libstrongswan/plugins/agent/agent_plugin.h @@ -44,4 +44,4 @@ struct agent_plugin_t { */ plugin_t *plugin_create(); -#endif /* AGENT_PLUGIN_H_ @}*/ +#endif /** AGENT_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/agent/agent_private_key.h b/src/libstrongswan/plugins/agent/agent_private_key.h index 4d678dd08..929e88a50 100644 --- a/src/libstrongswan/plugins/agent/agent_private_key.h +++ b/src/libstrongswan/plugins/agent/agent_private_key.h @@ -44,5 +44,5 @@ struct agent_private_key_t { */ builder_t *agent_private_key_builder(key_type_t type); -#endif /*AGENT_PRIVATE_KEY_H_ @}*/ +#endif /** AGENT_PRIVATE_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/curl/curl_fetcher.h b/src/libstrongswan/plugins/curl/curl_fetcher.h index 3028eac1b..043beb834 100644 --- a/src/libstrongswan/plugins/curl/curl_fetcher.h +++ b/src/libstrongswan/plugins/curl/curl_fetcher.h @@ -44,4 +44,4 @@ struct curl_fetcher_t { */ curl_fetcher_t *curl_fetcher_create(); -#endif /* CURL_FETCHER_H_ @}*/ +#endif /** CURL_FETCHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/curl/curl_plugin.h b/src/libstrongswan/plugins/curl/curl_plugin.h index 73166a25b..1b748446b 100644 --- a/src/libstrongswan/plugins/curl/curl_plugin.h +++ b/src/libstrongswan/plugins/curl/curl_plugin.h @@ -44,4 +44,4 @@ struct curl_plugin_t { */ plugin_t *plugin_create(); -#endif /* CURL_PLUGIN_H_ @}*/ +#endif /** CURL_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/des/des_crypter.h b/src/libstrongswan/plugins/des/des_crypter.h index d40d9cf2f..623b292fc 100644 --- a/src/libstrongswan/plugins/des/des_crypter.h +++ b/src/libstrongswan/plugins/des/des_crypter.h @@ -46,4 +46,4 @@ struct des_crypter_t { des_crypter_t *des_crypter_create(encryption_algorithm_t algo); -#endif /* DES_CRYPTER_H_ @}*/ +#endif /** DES_CRYPTER_H_ @}*/ diff --git a/src/libstrongswan/plugins/des/des_plugin.h b/src/libstrongswan/plugins/des/des_plugin.h index 8cabd082b..17df220bc 100644 --- a/src/libstrongswan/plugins/des/des_plugin.h +++ b/src/libstrongswan/plugins/des/des_plugin.h @@ -44,4 +44,4 @@ struct des_plugin_t { */ plugin_t *plugin_create(); -#endif /* DES_PLUGIN_H_ @}*/ +#endif /** DES_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/fips_prf/fips_prf.h b/src/libstrongswan/plugins/fips_prf/fips_prf.h index 3fead6b9b..b2940be72 100644 --- a/src/libstrongswan/plugins/fips_prf/fips_prf.h +++ b/src/libstrongswan/plugins/fips_prf/fips_prf.h @@ -56,4 +56,4 @@ struct fips_prf_t { */ fips_prf_t *fips_prf_create(pseudo_random_function_t algo); -#endif /* FIPS_PRF_H_ @}*/ +#endif /** FIPS_PRF_H_ @}*/ diff --git a/src/libstrongswan/plugins/fips_prf/fips_prf_plugin.h b/src/libstrongswan/plugins/fips_prf/fips_prf_plugin.h index 6816eb66f..8d65254ba 100644 --- a/src/libstrongswan/plugins/fips_prf/fips_prf_plugin.h +++ b/src/libstrongswan/plugins/fips_prf/fips_prf_plugin.h @@ -44,4 +44,4 @@ struct fips_prf_plugin_t { */ plugin_t *plugin_create(); -#endif /* FIPS_PRF_PLUGIN_H_ @}*/ +#endif /** FIPS_PRF_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/gmp/gmp_diffie_hellman.h b/src/libstrongswan/plugins/gmp/gmp_diffie_hellman.h index e2d4d6851..774c31cc2 100644 --- a/src/libstrongswan/plugins/gmp/gmp_diffie_hellman.h +++ b/src/libstrongswan/plugins/gmp/gmp_diffie_hellman.h @@ -45,5 +45,5 @@ struct gmp_diffie_hellman_t { */ gmp_diffie_hellman_t *gmp_diffie_hellman_create(diffie_hellman_group_t group); -#endif /*GMP_DIFFIE_HELLMAN_H_ @}*/ +#endif /** GMP_DIFFIE_HELLMAN_H_ @}*/ diff --git a/src/libstrongswan/plugins/gmp/gmp_plugin.h b/src/libstrongswan/plugins/gmp/gmp_plugin.h index a853064b7..d707d78ea 100644 --- a/src/libstrongswan/plugins/gmp/gmp_plugin.h +++ b/src/libstrongswan/plugins/gmp/gmp_plugin.h @@ -44,4 +44,4 @@ struct gmp_plugin_t { */ plugin_t *plugin_create(); -#endif /* GMP_PLUGIN_H_ @}*/ +#endif /** GMP_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.h b/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.h index 6f59b2ad2..d47e2583d 100644 --- a/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.h +++ b/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.h @@ -44,5 +44,5 @@ struct gmp_rsa_private_key_t { */ builder_t *gmp_rsa_private_key_builder(key_type_t type); -#endif /*GMP_RSA_PRIVATE_KEY_H_ @}*/ +#endif /** GMP_RSA_PRIVATE_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.h b/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.h index 00d3b3b7c..79a011da0 100644 --- a/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.h +++ b/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.h @@ -47,4 +47,4 @@ struct gmp_rsa_public_key_t { */ builder_t *gmp_rsa_public_key_builder(key_type_t type); -#endif /*GMP_RSA_PUBLIC_KEY_H_ @}*/ +#endif /** GMP_RSA_PUBLIC_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/hmac/hmac.h b/src/libstrongswan/plugins/hmac/hmac.h index 5f266e133..a204d3b17 100644 --- a/src/libstrongswan/plugins/hmac/hmac.h +++ b/src/libstrongswan/plugins/hmac/hmac.h @@ -90,4 +90,4 @@ struct hmac_t { */ hmac_t *hmac_create(hash_algorithm_t hash_algorithm); -#endif /*HMAC_H_ @}*/ +#endif /** HMAC_H_ @}*/ diff --git a/src/libstrongswan/plugins/hmac/hmac_plugin.h b/src/libstrongswan/plugins/hmac/hmac_plugin.h index 55ba0b5f4..5c3afa7d6 100644 --- a/src/libstrongswan/plugins/hmac/hmac_plugin.h +++ b/src/libstrongswan/plugins/hmac/hmac_plugin.h @@ -44,4 +44,4 @@ struct hmac_plugin_t { */ plugin_t *plugin_create(); -#endif /* HMAC_PLUGIN_H_ @}*/ +#endif /** HMAC_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/hmac/hmac_prf.h b/src/libstrongswan/plugins/hmac/hmac_prf.h index 46d05f03a..aa75272e1 100644 --- a/src/libstrongswan/plugins/hmac/hmac_prf.h +++ b/src/libstrongswan/plugins/hmac/hmac_prf.h @@ -48,4 +48,4 @@ struct hmac_prf_t { */ hmac_prf_t *hmac_prf_create(pseudo_random_function_t algo); -#endif /*PRF_HMAC_SHA1_H_ @}*/ +#endif /** PRF_HMAC_SHA1_H_ @}*/ diff --git a/src/libstrongswan/plugins/hmac/hmac_signer.h b/src/libstrongswan/plugins/hmac/hmac_signer.h index 969f482e7..197e28fa7 100644 --- a/src/libstrongswan/plugins/hmac/hmac_signer.h +++ b/src/libstrongswan/plugins/hmac/hmac_signer.h @@ -52,4 +52,4 @@ struct hmac_signer_t { */ hmac_signer_t *hmac_signer_create(integrity_algorithm_t algo); -#endif /*HMAC_SIGNER_H_ @}*/ +#endif /** HMAC_SIGNER_H_ @}*/ diff --git a/src/libstrongswan/plugins/ldap/ldap_fetcher.h b/src/libstrongswan/plugins/ldap/ldap_fetcher.h index bde60c799..30a141bae 100644 --- a/src/libstrongswan/plugins/ldap/ldap_fetcher.h +++ b/src/libstrongswan/plugins/ldap/ldap_fetcher.h @@ -39,4 +39,4 @@ struct ldap_fetcher_t { */ ldap_fetcher_t *ldap_fetcher_create(); -#endif /* LDAP_FETCHER_H_ @}*/ +#endif /** LDAP_FETCHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/ldap/ldap_plugin.h b/src/libstrongswan/plugins/ldap/ldap_plugin.h index 7b2bb3232..de4ff3422 100644 --- a/src/libstrongswan/plugins/ldap/ldap_plugin.h +++ b/src/libstrongswan/plugins/ldap/ldap_plugin.h @@ -44,4 +44,4 @@ struct ldap_plugin_t { */ plugin_t *plugin_create(); -#endif /* LDAP_PLUGIN_H_ @}*/ +#endif /** LDAP_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/md4/md4_hasher.h b/src/libstrongswan/plugins/md4/md4_hasher.h index 75956fde6..b0b8c65d2 100644 --- a/src/libstrongswan/plugins/md4/md4_hasher.h +++ b/src/libstrongswan/plugins/md4/md4_hasher.h @@ -45,4 +45,4 @@ struct md4_hasher_t { */ md4_hasher_t *md4_hasher_create(hash_algorithm_t algo); -#endif /*MD4_HASHER_H_@}*/ +#endif /** MD4_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/md4/md4_plugin.h b/src/libstrongswan/plugins/md4/md4_plugin.h index 965bff261..b13002d7b 100644 --- a/src/libstrongswan/plugins/md4/md4_plugin.h +++ b/src/libstrongswan/plugins/md4/md4_plugin.h @@ -44,4 +44,4 @@ struct md4_plugin_t { */ plugin_t *plugin_create(); -#endif /* MD4_PLUGIN_H_ @}*/ +#endif /** MD4_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/md5/md5_hasher.h b/src/libstrongswan/plugins/md5/md5_hasher.h index d4a0417ab..0064c177b 100644 --- a/src/libstrongswan/plugins/md5/md5_hasher.h +++ b/src/libstrongswan/plugins/md5/md5_hasher.h @@ -45,4 +45,4 @@ struct md5_hasher_t { */ md5_hasher_t *md5_hasher_create(hash_algorithm_t algo); -#endif /*MD5_HASHER_H_@}*/ +#endif /** MD5_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/md5/md5_plugin.h b/src/libstrongswan/plugins/md5/md5_plugin.h index e8e8dd535..057689ad3 100644 --- a/src/libstrongswan/plugins/md5/md5_plugin.h +++ b/src/libstrongswan/plugins/md5/md5_plugin.h @@ -44,4 +44,4 @@ struct md5_plugin_t { */ plugin_t *plugin_create(); -#endif /* MD5_PLUGIN_H_ @}*/ +#endif /** MD5_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/mysql/mysql_database.h b/src/libstrongswan/plugins/mysql/mysql_database.h index d04aa79fa..98ddcad36 100644 --- a/src/libstrongswan/plugins/mysql/mysql_database.h +++ b/src/libstrongswan/plugins/mysql/mysql_database.h @@ -39,7 +39,7 @@ struct mysql_database_t { /** * Create a mysql_database instance. * - * @param uri connection URI, mysql://user:pass@host:port/database + * @param uri connection URI, mysql://user:pass@example.com:port/database */ mysql_database_t *mysql_database_create(char *uri); @@ -55,4 +55,4 @@ bool mysql_database_init(); */ void mysql_database_deinit(); -#endif /* MYSQL_DATABASE_H_ @}*/ +#endif /** MYSQL_DATABASE_H_ @}*/ diff --git a/src/libstrongswan/plugins/mysql/mysql_plugin.h b/src/libstrongswan/plugins/mysql/mysql_plugin.h index dbcabaafe..fa53c2b7a 100644 --- a/src/libstrongswan/plugins/mysql/mysql_plugin.h +++ b/src/libstrongswan/plugins/mysql/mysql_plugin.h @@ -44,4 +44,4 @@ struct mysql_plugin_t { */ plugin_t *plugin_create(); -#endif /* MYSQL_PLUGIN_H_ @}*/ +#endif /** MYSQL_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_crypter.h b/src/libstrongswan/plugins/openssl/openssl_crypter.h index 53bc017ee..764a52437 100644 --- a/src/libstrongswan/plugins/openssl/openssl_crypter.h +++ b/src/libstrongswan/plugins/openssl/openssl_crypter.h @@ -48,4 +48,4 @@ struct openssl_crypter_t { openssl_crypter_t *openssl_crypter_create(encryption_algorithm_t algo, size_t key_size); -#endif /* OPENSSL_CRYPTER_H_ @}*/ +#endif /** OPENSSL_CRYPTER_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h index b57950060..3712a8854 100644 --- a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h +++ b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h @@ -46,5 +46,5 @@ struct openssl_diffie_hellman_t { */ openssl_diffie_hellman_t *openssl_diffie_hellman_create(diffie_hellman_group_t group); -#endif /*OPENSSL_DIFFIE_HELLMAN_H_ @}*/ +#endif /** OPENSSL_DIFFIE_HELLMAN_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.h b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.h index 8ed7ceb30..999354e27 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.h +++ b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.h @@ -46,5 +46,5 @@ struct openssl_ec_diffie_hellman_t { */ openssl_ec_diffie_hellman_t *openssl_ec_diffie_hellman_create(diffie_hellman_group_t group); -#endif /*OPENSSL_EC_DIFFIE_HELLMAN_H_ @}*/ +#endif /** OPENSSL_EC_DIFFIE_HELLMAN_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_private_key.h b/src/libstrongswan/plugins/openssl/openssl_ec_private_key.h index b8fd0c14b..e96eaa621 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_private_key.h +++ b/src/libstrongswan/plugins/openssl/openssl_ec_private_key.h @@ -46,4 +46,4 @@ struct openssl_ec_private_key_t { */ builder_t *openssl_ec_private_key_builder(key_type_t type); -#endif /*OPENSSL_EC_PRIVATE_KEY_H_ @}*/ +#endif /** OPENSSL_EC_PRIVATE_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_public_key.h b/src/libstrongswan/plugins/openssl/openssl_ec_public_key.h index a4809f727..735016e1b 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_public_key.h +++ b/src/libstrongswan/plugins/openssl/openssl_ec_public_key.h @@ -46,4 +46,4 @@ struct openssl_ec_public_key_t { */ builder_t *openssl_ec_public_key_builder(key_type_t type); -#endif /*OPENSSL_EC_PUBLIC_KEY_H_ @}*/ +#endif /** OPENSSL_EC_PUBLIC_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_hasher.h b/src/libstrongswan/plugins/openssl/openssl_hasher.h index 065d372f1..09766cc32 100644 --- a/src/libstrongswan/plugins/openssl/openssl_hasher.h +++ b/src/libstrongswan/plugins/openssl/openssl_hasher.h @@ -42,9 +42,8 @@ struct openssl_hasher_t { * Constructor to create openssl_hasher_t. * * @param algo algorithm - * @param key_size key size in bytes * @return openssl_hasher_t, NULL if not supported */ openssl_hasher_t *openssl_hasher_create(hash_algorithm_t algo); -#endif /* OPENSSL_HASHER_H_ @}*/ +#endif /** OPENSSL_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.h b/src/libstrongswan/plugins/openssl/openssl_plugin.h index 59e8cb3e8..b00f82e58 100644 --- a/src/libstrongswan/plugins/openssl/openssl_plugin.h +++ b/src/libstrongswan/plugins/openssl/openssl_plugin.h @@ -46,4 +46,4 @@ struct openssl_plugin_t { */ plugin_t *plugin_create(); -#endif /* OPENSSL_PLUGIN_H_ @}*/ +#endif /** OPENSSL_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_rsa_private_key.h b/src/libstrongswan/plugins/openssl/openssl_rsa_private_key.h index 36d15ff9b..5b8e8dfe3 100644 --- a/src/libstrongswan/plugins/openssl/openssl_rsa_private_key.h +++ b/src/libstrongswan/plugins/openssl/openssl_rsa_private_key.h @@ -46,4 +46,4 @@ struct openssl_rsa_private_key_t { */ builder_t *openssl_rsa_private_key_builder(key_type_t type); -#endif /*OPENSSL_RSA_PRIVATE_KEY_H_ @}*/ +#endif /** OPENSSL_RSA_PRIVATE_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_rsa_public_key.h b/src/libstrongswan/plugins/openssl/openssl_rsa_public_key.h index fc3b867af..372cd6eae 100644 --- a/src/libstrongswan/plugins/openssl/openssl_rsa_public_key.h +++ b/src/libstrongswan/plugins/openssl/openssl_rsa_public_key.h @@ -46,4 +46,4 @@ struct openssl_rsa_public_key_t { */ builder_t *openssl_rsa_public_key_builder(key_type_t type); -#endif /*OPENSSL_RSA_PUBLIC_KEY_H_ @}*/ +#endif /** OPENSSL_RSA_PUBLIC_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_util.h b/src/libstrongswan/plugins/openssl/openssl_util.h index fda4eda5b..706c09c44 100644 --- a/src/libstrongswan/plugins/openssl/openssl_util.h +++ b/src/libstrongswan/plugins/openssl/openssl_util.h @@ -67,4 +67,4 @@ bool openssl_bn_cat(int len, BIGNUM *a, BIGNUM *b, chunk_t *chunk); */ bool openssl_bn_split(chunk_t chunk, BIGNUM *a, BIGNUM *b); -#endif /*OPENSSL_UTIL_H_ @}*/ +#endif /** OPENSSL_UTIL_H_ @}*/ diff --git a/src/libstrongswan/plugins/padlock/padlock_aes_crypter.h b/src/libstrongswan/plugins/padlock/padlock_aes_crypter.h index e8b01633d..d8ac9c2a0 100644 --- a/src/libstrongswan/plugins/padlock/padlock_aes_crypter.h +++ b/src/libstrongswan/plugins/padlock/padlock_aes_crypter.h @@ -47,4 +47,4 @@ struct padlock_aes_crypter_t { padlock_aes_crypter_t *padlock_aes_crypter_create(encryption_algorithm_t algo, size_t key_size); -#endif /* PADLOCK_AES_CRYPTER_H_ @}*/ +#endif /** PADLOCK_AES_CRYPTER_H_ @}*/ diff --git a/src/libstrongswan/plugins/padlock/padlock_plugin.h b/src/libstrongswan/plugins/padlock/padlock_plugin.h index 7e013a5f7..76f4d1135 100644 --- a/src/libstrongswan/plugins/padlock/padlock_plugin.h +++ b/src/libstrongswan/plugins/padlock/padlock_plugin.h @@ -44,4 +44,4 @@ struct padlock_plugin_t { */ plugin_t *plugin_create(); -#endif /* PADLOCK_PLUGIN_H_ @}*/ +#endif /** PADLOCK_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/padlock/padlock_rng.h b/src/libstrongswan/plugins/padlock/padlock_rng.h index a76ecd296..505f4649c 100644 --- a/src/libstrongswan/plugins/padlock/padlock_rng.h +++ b/src/libstrongswan/plugins/padlock/padlock_rng.h @@ -17,7 +17,7 @@ /** * @defgroup padlock_rng padlock_rng - * @{ @ingroup padlock + * @{ @ingroup padlock_p */ #ifndef PADLOCK_RNG_H_ @@ -46,4 +46,4 @@ struct padlock_rng_t { */ padlock_rng_t *padlock_rng_create(rng_quality_t quality); -#endif /* PADLOCK_RNG_ @}*/ +#endif /** PADLOCK_RNG_ @}*/ diff --git a/src/libstrongswan/plugins/padlock/padlock_sha1_hasher.h b/src/libstrongswan/plugins/padlock/padlock_sha1_hasher.h index 6855b827f..afa1e046d 100644 --- a/src/libstrongswan/plugins/padlock/padlock_sha1_hasher.h +++ b/src/libstrongswan/plugins/padlock/padlock_sha1_hasher.h @@ -16,7 +16,7 @@ /** * @defgroup sha1_hasher sha1_hasher - * @{ @ingroup sha1_p + * @{ @ingroup padlock_p */ #ifndef PADLOCK_SHA1_HASHER_H_ @@ -45,4 +45,4 @@ struct padlock_sha1_hasher_t { */ padlock_sha1_hasher_t *padlock_sha1_hasher_create(hash_algorithm_t algo); -#endif /*SHA1_HASHER_H_ @}*/ +#endif /** SHA1_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/plugin.h b/src/libstrongswan/plugins/plugin.h index cf0b728a3..6ca71540c 100644 --- a/src/libstrongswan/plugins/plugin.h +++ b/src/libstrongswan/plugins/plugin.h @@ -46,4 +46,4 @@ struct plugin_t { */ typedef plugin_t *(*plugin_constructor_t)(void); -#endif /* PLUGIN_H_ @}*/ +#endif /** PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/plugin_loader.h b/src/libstrongswan/plugins/plugin_loader.h index bd24e7558..6230f9d68 100644 --- a/src/libstrongswan/plugins/plugin_loader.h +++ b/src/libstrongswan/plugins/plugin_loader.h @@ -64,4 +64,4 @@ struct plugin_loader_t { */ plugin_loader_t *plugin_loader_create(); -#endif /* PLUGIN_LOADER_H_ @}*/ +#endif /** PLUGIN_LOADER_H_ @}*/ diff --git a/src/libstrongswan/plugins/pubkey/pubkey_cert.h b/src/libstrongswan/plugins/pubkey/pubkey_cert.h index 71ffe5099..b04824fee 100644 --- a/src/libstrongswan/plugins/pubkey/pubkey_cert.h +++ b/src/libstrongswan/plugins/pubkey/pubkey_cert.h @@ -48,4 +48,4 @@ struct pubkey_cert_t { */ builder_t *pubkey_cert_builder(certificate_type_t type); -#endif /* PUBKEY_CERT_H_ @}*/ +#endif /** PUBKEY_CERT_H_ @}*/ diff --git a/src/libstrongswan/plugins/pubkey/pubkey_plugin.h b/src/libstrongswan/plugins/pubkey/pubkey_plugin.h index 64d0995fc..a3fd2f155 100644 --- a/src/libstrongswan/plugins/pubkey/pubkey_plugin.h +++ b/src/libstrongswan/plugins/pubkey/pubkey_plugin.h @@ -44,4 +44,4 @@ struct pubkey_plugin_t { */ plugin_t *plugin_create(); -#endif /* PUBKEY_PLUGIN_H_ @}*/ +#endif /** PUBKEY_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/pubkey/pubkey_public_key.h b/src/libstrongswan/plugins/pubkey/pubkey_public_key.h index 73fcd1966..91a9f9990 100644 --- a/src/libstrongswan/plugins/pubkey/pubkey_public_key.h +++ b/src/libstrongswan/plugins/pubkey/pubkey_public_key.h @@ -33,4 +33,4 @@ */ builder_t *pubkey_public_key_builder(key_type_t type); -#endif /*PUBKEY_RSA_PUBLIC_KEY_H_ @}*/ +#endif /** PUBKEY_RSA_PUBLIC_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/random/random_plugin.h b/src/libstrongswan/plugins/random/random_plugin.h index 9e8b99387..8145c7875 100644 --- a/src/libstrongswan/plugins/random/random_plugin.h +++ b/src/libstrongswan/plugins/random/random_plugin.h @@ -44,4 +44,4 @@ struct random_plugin_t { */ plugin_t *plugin_create(); -#endif /* RANDOM_PLUGIN_H_ @}*/ +#endif /** RANDOM_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/random/random_rng.h b/src/libstrongswan/plugins/random/random_rng.h index 7f82353d8..3426d694e 100644 --- a/src/libstrongswan/plugins/random/random_rng.h +++ b/src/libstrongswan/plugins/random/random_rng.h @@ -17,7 +17,7 @@ /** * @defgroup random_rng random_rng - * @{ @ingroup utils + * @{ @ingroup random_p */ #ifndef RANDOM_RNG_H_ @@ -46,4 +46,4 @@ struct random_rng_t { */ random_rng_t *random_rng_create(rng_quality_t quality); -#endif /*RANDOM_RNG_H_ @} */ +#endif /** RANDOM_RNG_H_ @} */ diff --git a/src/libstrongswan/plugins/sha1/sha1_hasher.h b/src/libstrongswan/plugins/sha1/sha1_hasher.h index 7dcb0b8b3..b9bfe1c86 100644 --- a/src/libstrongswan/plugins/sha1/sha1_hasher.h +++ b/src/libstrongswan/plugins/sha1/sha1_hasher.h @@ -45,4 +45,4 @@ struct sha1_hasher_t { */ sha1_hasher_t *sha1_hasher_create(hash_algorithm_t algo); -#endif /*SHA1_HASHER_H_ @}*/ +#endif /** SHA1_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/sha1/sha1_plugin.h b/src/libstrongswan/plugins/sha1/sha1_plugin.h index 82ab04c86..36b12b91e 100644 --- a/src/libstrongswan/plugins/sha1/sha1_plugin.h +++ b/src/libstrongswan/plugins/sha1/sha1_plugin.h @@ -44,4 +44,4 @@ struct sha1_plugin_t { */ plugin_t *plugin_create(); -#endif /* SHA1_PLUGIN_H_ @}*/ +#endif /** SHA1_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/sha1/sha1_prf.h b/src/libstrongswan/plugins/sha1/sha1_prf.h index a0f56b681..b6cd2f9d0 100644 --- a/src/libstrongswan/plugins/sha1/sha1_prf.h +++ b/src/libstrongswan/plugins/sha1/sha1_prf.h @@ -44,4 +44,4 @@ struct sha1_prf_t { */ sha1_prf_t *sha1_prf_create(pseudo_random_function_t algo); -#endif /*SHA1_PRF_H_ @}*/ +#endif /** SHA1_PRF_H_ @}*/ diff --git a/src/libstrongswan/plugins/sha2/sha2_hasher.h b/src/libstrongswan/plugins/sha2/sha2_hasher.h index 6d732495a..11f4fac26 100644 --- a/src/libstrongswan/plugins/sha2/sha2_hasher.h +++ b/src/libstrongswan/plugins/sha2/sha2_hasher.h @@ -47,4 +47,4 @@ struct sha2_hasher_t { */ sha2_hasher_t *sha2_hasher_create(hash_algorithm_t algorithm); -#endif /* SHA2_HASHER_H_ @}*/ +#endif /** SHA2_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/sha2/sha2_plugin.h b/src/libstrongswan/plugins/sha2/sha2_plugin.h index 859597758..b80f7560e 100644 --- a/src/libstrongswan/plugins/sha2/sha2_plugin.h +++ b/src/libstrongswan/plugins/sha2/sha2_plugin.h @@ -44,4 +44,4 @@ struct sha2_plugin_t { */ plugin_t *plugin_create(); -#endif /* SHA2_PLUGIN_H_ @}*/ +#endif /** SHA2_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/sqlite/sqlite_database.h b/src/libstrongswan/plugins/sqlite/sqlite_database.h index 795785627..75f89a7ed 100644 --- a/src/libstrongswan/plugins/sqlite/sqlite_database.h +++ b/src/libstrongswan/plugins/sqlite/sqlite_database.h @@ -43,4 +43,4 @@ struct sqlite_database_t { */ sqlite_database_t *sqlite_database_create(char *uri); -#endif /* SQLITE_DATABASE_H_ @}*/ +#endif /** SQLITE_DATABASE_H_ @}*/ diff --git a/src/libstrongswan/plugins/sqlite/sqlite_plugin.h b/src/libstrongswan/plugins/sqlite/sqlite_plugin.h index 07bf9618f..82735a311 100644 --- a/src/libstrongswan/plugins/sqlite/sqlite_plugin.h +++ b/src/libstrongswan/plugins/sqlite/sqlite_plugin.h @@ -44,4 +44,4 @@ struct sqlite_plugin_t { */ plugin_t *plugin_create(); -#endif /* SQLITE_PLUGIN_H_ @}*/ +#endif /** SQLITE_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/ietf_attr_list.h b/src/libstrongswan/plugins/x509/ietf_attr_list.h index e3e4add61..983c67d14 100644 --- a/src/libstrongswan/plugins/x509/ietf_attr_list.h +++ b/src/libstrongswan/plugins/x509/ietf_attr_list.h @@ -77,5 +77,5 @@ chunk_t ietfAttr_list_encode(linked_list_t *list); */ void ietfAttr_list_destroy(linked_list_t *list); -#endif /* IETF_ATTR_LIST_H_ @}*/ +#endif /** IETF_ATTR_LIST_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_ac.h b/src/libstrongswan/plugins/x509/x509_ac.h index 2fd165e45..5df9c5f8a 100644 --- a/src/libstrongswan/plugins/x509/x509_ac.h +++ b/src/libstrongswan/plugins/x509/x509_ac.h @@ -56,4 +56,4 @@ struct x509_ac_t { */ builder_t *x509_ac_builder(certificate_type_t type); -#endif /* X509_AC_H_ @}*/ +#endif /** X509_AC_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_cert.h b/src/libstrongswan/plugins/x509/x509_cert.h index e24fc8ed1..140dd21cc 100644 --- a/src/libstrongswan/plugins/x509/x509_cert.h +++ b/src/libstrongswan/plugins/x509/x509_cert.h @@ -46,4 +46,4 @@ struct x509_cert_t { */ builder_t *x509_cert_builder(certificate_type_t type); -#endif /* X509_CERT_H_ @}*/ +#endif /** X509_CERT_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_crl.h b/src/libstrongswan/plugins/x509/x509_crl.h index 0d9e5cca4..daa8e4846 100644 --- a/src/libstrongswan/plugins/x509/x509_crl.h +++ b/src/libstrongswan/plugins/x509/x509_crl.h @@ -45,4 +45,4 @@ struct x509_crl_t { */ builder_t *x509_crl_builder(certificate_type_t type); -#endif /* X509_CRL_H_ @}*/ +#endif /** X509_CRL_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_ocsp_request.h b/src/libstrongswan/plugins/x509/x509_ocsp_request.h index 0a4016f65..ffaa3c634 100644 --- a/src/libstrongswan/plugins/x509/x509_ocsp_request.h +++ b/src/libstrongswan/plugins/x509/x509_ocsp_request.h @@ -51,4 +51,4 @@ struct x509_ocsp_request_t { */ builder_t *x509_ocsp_request_builder(certificate_type_t type); -#endif /* X509_OCSP_REQUEST_H_ @}*/ +#endif /** X509_OCSP_REQUEST_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_ocsp_response.h b/src/libstrongswan/plugins/x509/x509_ocsp_response.h index 8b4c8328d..06a9fd3c7 100644 --- a/src/libstrongswan/plugins/x509/x509_ocsp_response.h +++ b/src/libstrongswan/plugins/x509/x509_ocsp_response.h @@ -44,4 +44,4 @@ struct x509_ocsp_response_t { */ builder_t *x509_ocsp_response_builder(certificate_type_t type); -#endif /* X509_OCSP_RESPONSE_H_ @}*/ +#endif /** X509_OCSP_RESPONSE_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_plugin.h b/src/libstrongswan/plugins/x509/x509_plugin.h index 9743a2367..fe8c0b31f 100644 --- a/src/libstrongswan/plugins/x509/x509_plugin.h +++ b/src/libstrongswan/plugins/x509/x509_plugin.h @@ -44,4 +44,4 @@ struct x509_plugin_t { */ plugin_t *plugin_create(); -#endif /* X509_PLUGIN_H_ @}*/ +#endif /** X509_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/xcbc/xcbc.h b/src/libstrongswan/plugins/xcbc/xcbc.h index 81812442e..a334c675b 100644 --- a/src/libstrongswan/plugins/xcbc/xcbc.h +++ b/src/libstrongswan/plugins/xcbc/xcbc.h @@ -75,4 +75,4 @@ struct xcbc_t { */ xcbc_t *xcbc_create(encryption_algorithm_t algo, size_t key_size); -#endif /*xcbc_H_ @}*/ +#endif /** XCBC_H_ @}*/ diff --git a/src/libstrongswan/plugins/xcbc/xcbc_plugin.h b/src/libstrongswan/plugins/xcbc/xcbc_plugin.h index 728d84690..803d847aa 100644 --- a/src/libstrongswan/plugins/xcbc/xcbc_plugin.h +++ b/src/libstrongswan/plugins/xcbc/xcbc_plugin.h @@ -44,4 +44,4 @@ struct xcbc_plugin_t { */ plugin_t *plugin_create(); -#endif /* XCBC_PLUGIN_H_ @}*/ +#endif /** XCBC_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/xcbc/xcbc_prf.h b/src/libstrongswan/plugins/xcbc/xcbc_prf.h index e8692ae23..bbf5b972a 100644 --- a/src/libstrongswan/plugins/xcbc/xcbc_prf.h +++ b/src/libstrongswan/plugins/xcbc/xcbc_prf.h @@ -47,4 +47,4 @@ struct xcbc_prf_t { */ xcbc_prf_t *xcbc_prf_create(pseudo_random_function_t algo); -#endif /*PRF_XCBC_SHA1_H_ @}*/ +#endif /** PRF_XCBC_SHA1_H_ @}*/ diff --git a/src/libstrongswan/plugins/xcbc/xcbc_signer.h b/src/libstrongswan/plugins/xcbc/xcbc_signer.h index c7eff7e17..dc0087392 100644 --- a/src/libstrongswan/plugins/xcbc/xcbc_signer.h +++ b/src/libstrongswan/plugins/xcbc/xcbc_signer.h @@ -18,8 +18,8 @@ * @{ @ingroup xcbc_p */ -#ifndef xcbc_SIGNER_H_ -#define xcbc_SIGNER_H_ +#ifndef XCBC_SIGNER_H_ +#define XCBC_SIGNER_H_ typedef struct xcbc_signer_t xcbc_signer_t; @@ -44,4 +44,4 @@ struct xcbc_signer_t { */ xcbc_signer_t *xcbc_signer_create(integrity_algorithm_t algo); -#endif /*xcbc_SIGNER_H_ @}*/ +#endif /** XCBC_SIGNER_H_ @}*/ diff --git a/src/libstrongswan/printf_hook.h b/src/libstrongswan/printf_hook.h index 86eaa1c43..a1773fd26 100644 --- a/src/libstrongswan/printf_hook.h +++ b/src/libstrongswan/printf_hook.h @@ -150,4 +150,4 @@ struct printf_hook_t { */ printf_hook_t *printf_hook_create(); -#endif /* PRINTF_HOOK_H_ @}*/ +#endif /** PRINTF_HOOK_H_ @}*/ diff --git a/src/libstrongswan/settings.h b/src/libstrongswan/settings.h index 0f41878c5..c487f7775 100644 --- a/src/libstrongswan/settings.h +++ b/src/libstrongswan/settings.h @@ -116,4 +116,4 @@ struct settings_t { */ settings_t *settings_create(char *file); -#endif /* SETTINGS_H_ @}*/ +#endif /** SETTINGS_H_ @}*/ diff --git a/src/libstrongswan/utils.h b/src/libstrongswan/utils.h index 947a488fe..5b5edecd1 100644 --- a/src/libstrongswan/utils.h +++ b/src/libstrongswan/utils.h @@ -311,4 +311,4 @@ int time_delta_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec, int mem_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec, const void *const *args); -#endif /* UTILS_H_ @}*/ +#endif /** UTILS_H_ @}*/ diff --git a/src/libstrongswan/utils/backtrace.h b/src/libstrongswan/utils/backtrace.h index 72effd01e..061d9f356 100644 --- a/src/libstrongswan/utils/backtrace.h +++ b/src/libstrongswan/utils/backtrace.h @@ -59,5 +59,4 @@ struct backtrace_t { */ backtrace_t *backtrace_create(int skip); -#endif /* BACKTRACE_H_ @}*/ - +#endif /** BACKTRACE_H_ @}*/ diff --git a/src/libstrongswan/utils/enumerator.h b/src/libstrongswan/utils/enumerator.h index ee749d3b7..5899194a5 100644 --- a/src/libstrongswan/utils/enumerator.h +++ b/src/libstrongswan/utils/enumerator.h @@ -122,7 +122,7 @@ enumerator_t* enumerator_create_token(char *string, char *sep, char *trim); * @return the nested enumerator */ enumerator_t *enumerator_create_nested(enumerator_t *outer, - enumerator_t *(inner_constructor)(void *outer, void *data), + enumerator_t *(*inner_constructor)(void *outer, void *data), void *data, void (*destroy_data)(void *data)); /** @@ -157,4 +157,4 @@ enumerator_t *enumerator_create_filter(enumerator_t *unfiltered, enumerator_t *enumerator_create_cleaner(enumerator_t *wrapped, void (*cleanup)(void *data), void *data); -#endif /* ENUMERATOR_H_ @} */ +#endif /** ENUMERATOR_H_ @}*/ diff --git a/src/libstrongswan/utils/hashtable.h b/src/libstrongswan/utils/hashtable.h index 8e58d2eb9..e16b3f150 100644 --- a/src/libstrongswan/utils/hashtable.h +++ b/src/libstrongswan/utils/hashtable.h @@ -113,4 +113,4 @@ struct hashtable_t { hashtable_t *hashtable_create(hashtable_hash_t hash, hashtable_equals_t equals, u_int capacity); -#endif /* HASHTABLE_H_ @} */ +#endif /** HASHTABLE_H_ @}*/ diff --git a/src/libstrongswan/utils/host.h b/src/libstrongswan/utils/host.h index 5f00872b8..0a2541d96 100644 --- a/src/libstrongswan/utils/host.h +++ b/src/libstrongswan/utils/host.h @@ -207,4 +207,4 @@ host_t *host_create_any(int family); int host_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec, const void *const *args); -#endif /* HOST_H_ @}*/ +#endif /** HOST_H_ @}*/ diff --git a/src/libstrongswan/utils/identification.h b/src/libstrongswan/utils/identification.h index 1b5427bca..6cfc7c473 100644 --- a/src/libstrongswan/utils/identification.h +++ b/src/libstrongswan/utils/identification.h @@ -197,8 +197,8 @@ struct identification_t { * Check if an ID matches a wildcard ID. * * An identification_t may contain wildcards, such as - * *@strongswan.org. This call checks if a given ID - * (e.g. tester@strongswan.org) belongs to a such wildcard + * *.strongswan.org. This call checks if a given ID + * (e.g. tester.strongswan.org) belongs to a such wildcard * ID. Returns > 0 if * - IDs are identical * - other is of type ID_ANY @@ -243,7 +243,7 @@ struct identification_t { * The input string may be e.g. one of the following: * - ID_IPV4_ADDR: 192.168.0.1 * - ID_IPV6_ADDR: 2001:0db8:85a3:08d3:1319:8a2e:0370:7345 - * - ID_FQDN: @www.strongswan.org (@indicates FQDN) + * - ID_FQDN: www.strongswan.org (optionally with a prepended @) * - ID_RFC822_ADDR: alice@wonderland.org * - ID_DER_ASN1_DN: C=CH, O=Linux strongSwan, CN=bob * @@ -283,4 +283,4 @@ identification_t * identification_create_from_encoding(id_type_t type, chunk_t e int identification_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec, const void *const *args); -#endif /* IDENTIFICATION_H_ @} */ +#endif /** IDENTIFICATION_H_ @}*/ diff --git a/src/libstrongswan/utils/iterator.h b/src/libstrongswan/utils/iterator.h index aefae925d..758fa53d1 100644 --- a/src/libstrongswan/utils/iterator.h +++ b/src/libstrongswan/utils/iterator.h @@ -113,4 +113,4 @@ struct iterator_t { void (*destroy) (iterator_t *this); }; -#endif /*ITERATOR_H_ @} */ +#endif /** ITERATOR_H_ @}*/ diff --git a/src/libstrongswan/utils/leak_detective.h b/src/libstrongswan/utils/leak_detective.h index 3773fb8e5..cd30dcd5f 100644 --- a/src/libstrongswan/utils/leak_detective.h +++ b/src/libstrongswan/utils/leak_detective.h @@ -44,5 +44,5 @@ struct leak_detective_t { */ leak_detective_t *leak_detective_create(); -#endif /* LEAK_DETECTIVE_H_ @}*/ +#endif /** LEAK_DETECTIVE_H_ @}*/ diff --git a/src/libstrongswan/utils/lexparser.h b/src/libstrongswan/utils/lexparser.h index 41b1c1765..e2cd4e5b5 100644 --- a/src/libstrongswan/utils/lexparser.h +++ b/src/libstrongswan/utils/lexparser.h @@ -47,7 +47,7 @@ bool extract_token(chunk_t *token, const char termination, chunk_t *src); bool extract_token_str(chunk_t *token, const char *termination, chunk_t *src); /** - * Fetches a new text line terminated by \n or \r\n + * Fetches a new text line terminated by \\n or \\r\\n */ bool fetchline(chunk_t *src, chunk_t *line); @@ -66,4 +66,4 @@ err_t extract_name_value(chunk_t *name, chunk_t *value, chunk_t *line); */ err_t extract_parameter_value(chunk_t *name, chunk_t *value, chunk_t *line); -#endif /* LEXPARSER_H_ @} */ +#endif /** LEXPARSER_H_ @}*/ diff --git a/src/libstrongswan/utils/linked_list.h b/src/libstrongswan/utils/linked_list.h index 41ca06a77..b7152500c 100644 --- a/src/libstrongswan/utils/linked_list.h +++ b/src/libstrongswan/utils/linked_list.h @@ -272,4 +272,4 @@ struct linked_list_t { */ linked_list_t *linked_list_create(void); -#endif /*LINKED_LIST_H_ @} */ +#endif /** LINKED_LIST_H_ @}*/ diff --git a/src/libstrongswan/utils/mutex.h b/src/libstrongswan/utils/mutex.h index 1aadb71ad..60b90dfe6 100644 --- a/src/libstrongswan/utils/mutex.h +++ b/src/libstrongswan/utils/mutex.h @@ -185,4 +185,4 @@ condvar_t *condvar_create(condvar_type_t type); */ rwlock_t *rwlock_create(rwlock_type_t type); -#endif /* MUTEX_H_ @}*/ +#endif /** MUTEX_H_ @}*/ diff --git a/src/libstrongswan/utils/optionsfrom.h b/src/libstrongswan/utils/optionsfrom.h index 3a5640907..942d15830 100644 --- a/src/libstrongswan/utils/optionsfrom.h +++ b/src/libstrongswan/utils/optionsfrom.h @@ -56,4 +56,4 @@ struct options_t { */ options_t *options_create(void); -#endif /*OPTIONSFROM_H_ @} */ +#endif /** OPTIONSFROM_H_ @}*/ diff --git a/src/manager/controller/auth_controller.h b/src/manager/controller/auth_controller.h index 2e9f93459..f71e6e247 100644 --- a/src/manager/controller/auth_controller.h +++ b/src/manager/controller/auth_controller.h @@ -44,4 +44,4 @@ struct auth_controller_t { */ controller_t *auth_controller_create(context_t *context, void *param); -#endif /* AUTH_CONTROLLER_H_ @} */ +#endif /** AUTH_CONTROLLER_H_ @}*/ diff --git a/src/manager/controller/config_controller.h b/src/manager/controller/config_controller.h index edc5cd0d0..c34475d56 100644 --- a/src/manager/controller/config_controller.h +++ b/src/manager/controller/config_controller.h @@ -44,4 +44,4 @@ struct config_controller_t { */ controller_t *config_controller_create(context_t *context, void *param); -#endif /* CONFIG_CONTROLLER_H_ @} */ +#endif /** CONFIG_CONTROLLER_H_ @}*/ diff --git a/src/manager/controller/control_controller.h b/src/manager/controller/control_controller.h index a33cae50e..e6afaaa79 100644 --- a/src/manager/controller/control_controller.h +++ b/src/manager/controller/control_controller.h @@ -44,4 +44,4 @@ struct control_controller_t { */ controller_t *control_controller_create(context_t *context, void *param); -#endif /* CONTROL_CONTROLLER_H_ */ +#endif /** CONTROL_CONTROLLER_H_ @}*/ diff --git a/src/manager/controller/gateway_controller.h b/src/manager/controller/gateway_controller.h index eec089d7e..50490008e 100644 --- a/src/manager/controller/gateway_controller.h +++ b/src/manager/controller/gateway_controller.h @@ -44,4 +44,4 @@ struct gateway_controller_t { */ controller_t *gateway_controller_create(context_t *context, void *param); -#endif /* GATEWAY_CONTROLLER_H_ @} */ +#endif /** GATEWAY_CONTROLLER_H_ @}*/ diff --git a/src/manager/controller/ikesa_controller.h b/src/manager/controller/ikesa_controller.h index a238db307..e6d858376 100644 --- a/src/manager/controller/ikesa_controller.h +++ b/src/manager/controller/ikesa_controller.h @@ -44,4 +44,4 @@ struct ikesa_controller_t { */ controller_t *ikesa_controller_create(context_t *context, void *param); -#endif /* IKESA_CONTROLLER_H_ @} */ +#endif /** IKESA_CONTROLLER_H_ @}*/ diff --git a/src/manager/gateway.h b/src/manager/gateway.h index 8c012d303..e3b3fa12d 100644 --- a/src/manager/gateway.h +++ b/src/manager/gateway.h @@ -74,9 +74,9 @@ struct gateway_t { enumerator_t* (*initiate)(gateway_t *this, bool ike, char *name); /** - * Destroy a gateway instance. - */ - void (*destroy)(gateway_t *this); + * Destroy a gateway instance. + */ + void (*destroy)(gateway_t *this); }; /** @@ -84,7 +84,7 @@ struct gateway_t { * * @param name name of the gateway * @param host gateway connection endpoint - * @param + * @return gateway connection */ gateway_t *gateway_create_tcp(char *name, host_t *host); @@ -92,8 +92,8 @@ gateway_t *gateway_create_tcp(char *name, host_t *host); * Create a gateway instance using a UNIX socket. * * @param name name of the gateway - * @param + * @return gateway connection */ gateway_t *gateway_create_unix(char *name); -#endif /* GATEWAY_H_ @} */ +#endif /** GATEWAY_H_ @}*/ diff --git a/src/manager/manager.h b/src/manager/manager.h index 53808b794..a5a9367d9 100644 --- a/src/manager/manager.h +++ b/src/manager/manager.h @@ -95,4 +95,4 @@ struct manager_t { */ manager_t *manager_create(storage_t *storage); -#endif /* MANAGER_H_ @} */ +#endif /** MANAGER_H_ @}*/ diff --git a/src/manager/storage.h b/src/manager/storage.h index b7439ffd1..ee8623fc6 100644 --- a/src/manager/storage.h +++ b/src/manager/storage.h @@ -66,4 +66,4 @@ struct storage_t { */ storage_t *storage_create(char *uri); -#endif /* STORAGE_H_ @} */ +#endif /** STORAGE_H_ @}*/ diff --git a/src/manager/xml.h b/src/manager/xml.h index 14458a2d0..f7db4f1d5 100644 --- a/src/manager/xml.h +++ b/src/manager/xml.h @@ -60,4 +60,4 @@ struct xml_t { */ xml_t *xml_create(char *xml); -#endif /* XML_H_ @} */ +#endif /** XML_H_ @}*/ |