From: Arran Cudbard-Bell Date: Thu, 4 Jun 2015 16:53:33 +0000 (-0600) Subject: Document FR_TLS_* constants with doxygen prefixes, and expose fr_tls_status_table X-Git-Tag: release_3_0_9~269 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ffb741e89cd50982a67518a394896d7509e8a44;p=thirdparty%2Ffreeradius-server.git Document FR_TLS_* constants with doxygen prefixes, and expose fr_tls_status_table --- diff --git a/src/include/tls-h b/src/include/tls-h index c1a2ee766c5..2a028246cee 100644 --- a/src/include/tls-h +++ b/src/include/tls-h @@ -49,22 +49,23 @@ extern "C" { typedef struct fr_tls_server_conf_t fr_tls_server_conf_t; typedef enum { - FR_TLS_INVALID = 0, /* invalid, don't reply */ - FR_TLS_REQUEST, /* request, ok to send, invalid to receive */ - FR_TLS_RESPONSE, /* response, ok to receive, invalid to send */ - FR_TLS_SUCCESS, /* success, send success */ - FR_TLS_FAIL, /* fail, send fail */ - FR_TLS_NOOP, /* noop, continue */ - - FR_TLS_START, /* start, ok to send, invalid to receive */ - FR_TLS_OK, /* ok, continue */ - FR_TLS_ACK, /* acknowledge, continue */ - FR_TLS_FIRST_FRAGMENT, /* first fragment */ - FR_TLS_MORE_FRAGMENTS, /* more fragments, to send/receive */ - FR_TLS_LENGTH_INCLUDED, /* length included */ - FR_TLS_MORE_FRAGMENTS_WITH_LENGTH, /* more fragments with length */ - FR_TLS_HANDLED /* tls code has handled it */ + FR_TLS_INVALID = 0, //!< Invalid, don't reply. + FR_TLS_REQUEST, //!< Request, ok to send, invalid to receive. + FR_TLS_RESPONSE, //!< Response, ok to receive, invalid to send. + FR_TLS_SUCCESS, //!< Success, send success. + FR_TLS_FAIL, //!< Fail, send fail. + FR_TLS_NOOP, //!< Noop, continue. + + FR_TLS_START, //!< Start, ok to send, invalid to receive. + FR_TLS_OK, //!< Ok, continue. + FR_TLS_ACK, //!< Acknowledge, continue. + FR_TLS_FIRST_FRAGMENT, //!< First fragment. + FR_TLS_MORE_FRAGMENTS, //!< More fragments, to send/receive. + FR_TLS_LENGTH_INCLUDED, //!< Length included. + FR_TLS_MORE_FRAGMENTS_WITH_LENGTH, //!< More fragments with length. + FR_TLS_HANDLED //!< TLS code has handled it. } fr_tls_status_t; +extern FR_NAME_NUMBER const fr_tls_status_table[]; #define MAX_RECORD_SIZE 16384