#comments
#typedef enum onion {
#    oDET,
#    oOPE,
#    oAGG,
#    oSWP,
#    oPLAIN,
#    oBESTEFFORT,
#    oASHE,
#    oINVALID,
#} onion;
#
#extern std::map<std::string,onion> string_to_onion;
#
#//Sec levels ordered such that
#// if a is less secure than b.
#// a appears before b
#// (note, this is not "iff")
#
#enum class SECLEVEL {
#    INVALID,
#    PLAINVAL,
#    OPEFOREIGN,
#    OPE,
#    DETJOIN,
#    DET,
#    SEARCH,
#    HOM,
#    ASHE,//added
#    RND,
#};

[onions for num]
oDET: DETJOIN DET RND
oOPE: OPE RND
oAGG: HOM
oASHE: ASHE
[end]


[onions for str]
oDET: DETJOIN DET RND
oOPE: OPE RND
oSWP: SEARCH
[end]
