Use separate Doxygen groups for IKEv1 and IKEv2 entities (authenticators, tasks etc.).

This commit is contained in:
Tobias Brunner
2012-05-18 10:04:08 +02:00
parent 7959a3faec
commit 22bf44c8b9
46 changed files with 67 additions and 52 deletions
+19 -4
View File
@@ -55,15 +55,30 @@
* @defgroup sa sa * @defgroup sa sa
* @ingroup libcharon * @ingroup libcharon
* *
* @defgroup authenticators authenticators * @defgroup ikev1 ikev1
* @ingroup sa * @ingroup sa
* *
* @defgroup ikev2 ikev2
* @ingroup sa
*
* @defgroup authenticators_v1 authenticators
* @ingroup ikev1
*
* @defgroup authenticators_v2 authenticators
* @ingroup ikev2
*
* @defgroup eap eap * @defgroup eap eap
* @ingroup authenticators
*
* @defgroup tasks tasks
* @ingroup sa * @ingroup sa
* *
* @defgroup xauth xauth
* @ingroup sa
*
* @defgroup tasks_v1 tasks
* @ingroup ikev1
*
* @defgroup tasks_v2 tasks
* @ingroup ikev2
*
* @addtogroup libcharon * @addtogroup libcharon
* @{ * @{
* *
+1 -1
View File
@@ -17,7 +17,7 @@
/** /**
* @defgroup authenticator authenticator * @defgroup authenticator authenticator
* @{ @ingroup authenticators * @{ @ingroup sa
*/ */
#ifndef AUTHENTICATOR_H_ #ifndef AUTHENTICATOR_H_
@@ -15,7 +15,7 @@
/** /**
* @defgroup hybrid_authenticator hybrid_authenticator * @defgroup hybrid_authenticator hybrid_authenticator
* @{ @ingroup authenticators * @{ @ingroup authenticators_v1
*/ */
#ifndef HYBRID_AUTHENTICATOR_H_ #ifndef HYBRID_AUTHENTICATOR_H_
@@ -15,7 +15,7 @@
/** /**
* @defgroup psk_v1_authenticator psk_v1_authenticator * @defgroup psk_v1_authenticator psk_v1_authenticator
* @{ @ingroup authenticators * @{ @ingroup authenticators_v1
*/ */
#ifndef PSK_V1_AUTHENTICATOR_H_ #ifndef PSK_V1_AUTHENTICATOR_H_
@@ -15,7 +15,7 @@
/** /**
* @defgroup pubkey_v1_authenticator pubkey_v1_authenticator * @defgroup pubkey_v1_authenticator pubkey_v1_authenticator
* @{ @ingroup authenticators * @{ @ingroup authenticators_v1
*/ */
#ifndef PUBKEY_V1_AUTHENTICATOR_H_ #ifndef PUBKEY_V1_AUTHENTICATOR_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup keymat_v1 keymat_v1 * @defgroup keymat_v1 keymat_v1
* @{ @ingroup sa * @{ @ingroup ikev1
*/ */
#ifndef KEYMAT_V1_H_ #ifndef KEYMAT_V1_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup task_manager_v1 task_manager_v1 * @defgroup task_manager_v1 task_manager_v1
* @{ @ingroup sa * @{ @ingroup ikev1
*/ */
#ifndef TASK_MANAGER_V1_H_ #ifndef TASK_MANAGER_V1_H_
@@ -15,7 +15,7 @@
/** /**
* @defgroup aggressive_mode aggressive_mode * @defgroup aggressive_mode aggressive_mode
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef AGGRESSIVE_MODE_H_ #ifndef AGGRESSIVE_MODE_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup informational informational * @defgroup informational informational
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef INFORMATIONAL_H_ #ifndef INFORMATIONAL_H_
@@ -15,7 +15,7 @@
/** /**
* @defgroup isakmp_cert_post isakmp_cert_post * @defgroup isakmp_cert_post isakmp_cert_post
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef ISAKMP_CERT_POST_H_ #ifndef ISAKMP_CERT_POST_H_
@@ -15,7 +15,7 @@
/** /**
* @defgroup isakmp_cert_pre isakmp_cert_pre * @defgroup isakmp_cert_pre isakmp_cert_pre
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef ISAKMP_CERT_PRE_H_ #ifndef ISAKMP_CERT_PRE_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup isakmp_delete isakmp_delete * @defgroup isakmp_delete isakmp_delete
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef ISAKMP_DELETE_H_ #ifndef ISAKMP_DELETE_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup isakmp_dpd isakmp_dpd * @defgroup isakmp_dpd isakmp_dpd
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef ISAKMP_DPD_H_ #ifndef ISAKMP_DPD_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup isakmp_natd isakmp_natd * @defgroup isakmp_natd isakmp_natd
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef ISAKMP_NATD_H_ #ifndef ISAKMP_NATD_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup isakmp_vendor isakmp_vendor * @defgroup isakmp_vendor isakmp_vendor
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef ISAKMP_VENDOR_H_ #ifndef ISAKMP_VENDOR_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup main_mode main_mode * @defgroup main_mode main_mode
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef MAIN_MODE_H_ #ifndef MAIN_MODE_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup mode_config mode_config * @defgroup mode_config mode_config
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef MODE_CONFIG_H_ #ifndef MODE_CONFIG_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup quick_delete quick_delete * @defgroup quick_delete quick_delete
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef QUICK_DELETE_H_ #ifndef QUICK_DELETE_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup quick_mode quick_mode * @defgroup quick_mode quick_mode
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef QUICK_MODE_H_ #ifndef QUICK_MODE_H_
+2 -2
View File
@@ -14,8 +14,8 @@
*/ */
/** /**
* @defgroup xauth xauth * @defgroup xauth_t xauth
* @{ @ingroup tasks * @{ @ingroup tasks_v1
*/ */
#ifndef XAUTH_H_ #ifndef XAUTH_H_
@@ -15,7 +15,7 @@
/** /**
* @defgroup eap_authenticator eap_authenticator * @defgroup eap_authenticator eap_authenticator
* @{ @ingroup authenticators * @{ @ingroup authenticators_v2
*/ */
#ifndef EAP_AUTHENTICATOR_H_ #ifndef EAP_AUTHENTICATOR_H_
@@ -15,7 +15,7 @@
/** /**
* @defgroup psk_authenticator psk_authenticator * @defgroup psk_authenticator psk_authenticator
* @{ @ingroup authenticators * @{ @ingroup authenticators_v2
*/ */
#ifndef PSK_AUTHENTICATOR_H_ #ifndef PSK_AUTHENTICATOR_H_
@@ -16,7 +16,7 @@
/** /**
* @defgroup pubkey_authenticator pubkey_authenticator * @defgroup pubkey_authenticator pubkey_authenticator
* @{ @ingroup authenticators * @{ @ingroup authenticators_v2
*/ */
#ifndef PUBKEY_AUTHENTICATOR_H_ #ifndef PUBKEY_AUTHENTICATOR_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup connect_manager connect_manager * @defgroup connect_manager connect_manager
* @{ @ingroup sa * @{ @ingroup ikev2
*/ */
#ifndef CONNECT_MANAGER_H_ #ifndef CONNECT_MANAGER_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup keymat_v2 keymat_v2 * @defgroup keymat_v2 keymat_v2
* @{ @ingroup sa * @{ @ingroup ikev2
*/ */
#ifndef KEYMAT_V2_H_ #ifndef KEYMAT_V2_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup mediation_manager mediation_manager * @defgroup mediation_manager mediation_manager
* @{ @ingroup sa * @{ @ingroup ikev2
*/ */
#ifndef MEDIATION_MANAGER_H_ #ifndef MEDIATION_MANAGER_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup task_manager_v2 task_manager_v2 * @defgroup task_manager_v2 task_manager_v2
* @{ @ingroup sa * @{ @ingroup ikev2
*/ */
#ifndef TASK_MANAGER_V2_H_ #ifndef TASK_MANAGER_V2_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup child_create child_create * @defgroup child_create child_create
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef CHILD_CREATE_H_ #ifndef CHILD_CREATE_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup child_delete child_delete * @defgroup child_delete child_delete
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef CHILD_DELETE_H_ #ifndef CHILD_DELETE_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup child_rekey child_rekey * @defgroup child_rekey child_rekey
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef CHILD_REKEY_H_ #ifndef CHILD_REKEY_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_auth ike_auth * @defgroup ike_auth ike_auth
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_AUTH_H_ #ifndef IKE_AUTH_H_
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_auth_lifetime ike_auth_lifetime * @defgroup ike_auth_lifetime ike_auth_lifetime
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_AUTH_LIFETIME_H_ #ifndef IKE_AUTH_LIFETIME_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_cert_post ike_cert_post * @defgroup ike_cert_post ike_cert_post
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_CERT_POST_H_ #ifndef IKE_CERT_POST_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_cert_pre ike_cert_pre * @defgroup ike_cert_pre ike_cert_pre
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_CERT_PRE_H_ #ifndef IKE_CERT_PRE_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_config ike_config * @defgroup ike_config ike_config
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_CONFIG_H_ #ifndef IKE_CONFIG_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_delete ike_delete * @defgroup ike_delete ike_delete
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_DELETE_H_ #ifndef IKE_DELETE_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_dpd ike_dpd * @defgroup ike_dpd ike_dpd
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_DPD_H_ #ifndef IKE_DPD_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_init ike_init * @defgroup ike_init ike_init
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_INIT_H_ #ifndef IKE_INIT_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_me ike_me * @defgroup ike_me ike_me
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_ME_H_ #ifndef IKE_ME_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_mobike ike_mobike * @defgroup ike_mobike ike_mobike
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_MOBIKE_H_ #ifndef IKE_MOBIKE_H_
+2 -2
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_natd ike_natd * @defgroup ike_natd ike_natd
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_NATD_H_ #ifndef IKE_NATD_H_
@@ -42,7 +42,7 @@ struct ike_natd_t {
* *
* MOBIKE uses NAT payloads in DPD to detect changes in the NAT mappings. * MOBIKE uses NAT payloads in DPD to detect changes in the NAT mappings.
* *
* @return TRUE if mappings have changed * @return TRUE if mappings have changed
*/ */
bool (*has_mapping_changed)(ike_natd_t *this); bool (*has_mapping_changed)(ike_natd_t *this);
}; };
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_reauth ike_reauth * @defgroup ike_reauth ike_reauth
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_REAUTH_H_ #ifndef IKE_REAUTH_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_rekey ike_rekey * @defgroup ike_rekey ike_rekey
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_REKEY_H_ #ifndef IKE_REKEY_H_
+1 -1
View File
@@ -15,7 +15,7 @@
/** /**
* @defgroup ike_vendor ike_vendor * @defgroup ike_vendor ike_vendor
* @{ @ingroup tasks * @{ @ingroup tasks_v2
*/ */
#ifndef IKE_VENDOR_H_ #ifndef IKE_VENDOR_H_
+1 -1
View File
@@ -16,7 +16,7 @@
/** /**
* @defgroup task task * @defgroup task task
* @{ @ingroup tasks * @{ @ingroup sa
*/ */
#ifndef TASK_H_ #ifndef TASK_H_
+1 -1
View File
@@ -14,7 +14,7 @@
*/ */
/** /**
* @defgroup eap eap * @defgroup leap eap
* @{ @ingroup libstrongswan * @{ @ingroup libstrongswan
*/ */