diff options
author | Julien Chaffraix <julien.chaffraix@gmail.com> | 2010-11-13 14:42:34 -0800 |
---|---|---|
committer | Julien Chaffraix <julien.chaffraix@gmail.com> | 2010-11-13 14:42:34 -0800 |
commit | add5766dd4d8a15f3f96254fc65e9ab5c9ff3d48 (patch) | |
tree | 709ead50eae0b159b4bb9129eabe52027be5b8a8 /lib/urldata.h | |
parent | 8d59d69449c2a86c478699a50d920541aa106201 (diff) |
urldata: Capitalize enum protect_level values.
This makes it easier to spot the enum values from the variables.
Removed some unneeded DEBUGASSERT added in the previous commit.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 06bbcda86..93c2d4078 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -199,14 +199,15 @@ struct krb4buffer { size_t index; int eof_flag; }; + enum protection_level { - prot_none, /* first in list */ - prot_clear, - prot_safe, - prot_confidential, - prot_private, - prot_cmd, - prot_last /* last in list */ + PROT_NONE, /* first in list */ + PROT_CLEAR, + PROT_SAFE, + PROT_CONFIDENTIAL, + PROT_PRIVATE, + PROT_CMD, + PROT_LAST /* last in list */ }; #endif |