serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1708867 - in /serf/trunk: auth/auth_spnego.c serf.h
Date Thu, 15 Oct 2015 18:53:09 GMT
Author: rhuijben
Date: Thu Oct 15 18:53:08 2015
New Revision: 1708867

URL: http://svn.apache.org/viewvc?rev=1708867&view=rev
Log:
Name a few enums, instead of only aliassing anonymous enums via a typedef.

* serf-dev/dev/auth/auth_spnego.c
  (gss_api_auth_state): Add name.

* serf-dev/dev/serf.h
  (serf_config_categories_t): Add name.

Modified:
    serf/trunk/auth/auth_spnego.c
    serf/trunk/serf.h

Modified: serf/trunk/auth/auth_spnego.c
URL: http://svn.apache.org/viewvc/serf/trunk/auth/auth_spnego.c?rev=1708867&r1=1708866&r2=1708867&view=diff
==============================================================================
--- serf/trunk/auth/auth_spnego.c (original)
+++ serf/trunk/auth/auth_spnego.c Thu Oct 15 18:53:08 2015
@@ -96,7 +96,7 @@
  */
 
 /* Current state of the authentication of the current request. */
-typedef enum {
+typedef enum gss_api_auth_state {
     gss_api_auth_not_started,
     gss_api_auth_in_progress,
     gss_api_auth_completed,
@@ -155,7 +155,7 @@ typedef enum {
     -----                                                 -----/
 
  **/
-typedef enum {
+typedef enum authn_persistence_state_t {
     pstate_init,
     pstate_undecided,
     pstate_stateless,

Modified: serf/trunk/serf.h
URL: http://svn.apache.org/viewvc/serf/trunk/serf.h?rev=1708867&r1=1708866&r2=1708867&view=diff
==============================================================================
--- serf/trunk/serf.h (original)
+++ serf/trunk/serf.h Thu Oct 15 18:53:08 2015
@@ -1151,7 +1151,7 @@ typedef const apr_uint32_t serf_config_k
    Serf will not use the second byte for its own keys, so applications can
    use this byte to define custom keys.
  */
-typedef enum {
+typedef enum serf_config_categories_t {
     SERF_CONFIG_PER_CONTEXT    = 0x10000000,
     SERF_CONFIG_PER_HOST       = 0x20000000,
     SERF_CONFIG_PER_CONNECTION = 0x40000000,



Mime
View raw message