{
    "mode": "man",
    "parameter": "RPC_GSS_QOP_TO_NUM",
    "section": "3",
    "url": "https://www.chedong.com/phpMan.php/man/RPC_GSS_QOP_TO_NUM/3/json",
    "generated": "2026-06-02T15:18:32Z",
    "synopsis": "#include <rpc/rpcsecgss.h>\nboolt\nrpcgssqoptonum(const char *qop, const char *mech, uint *numret);",
    "sections": {
        "NAME": {
            "content": "rpcgssqoptonum — Convert a Quality of Protection name to number\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "#include <rpc/rpcsecgss.h>\n\nboolt\nrpcgssqoptonum(const char *qop, const char *mech, uint *numret);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This function returns the numeric QOP value associated with the GSSAPI QOP \"qop\" and mechanism\n\"mech.\"\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "qop         The name of Quality of Protection associated with the GSSAPI mechanism \"mech\".\n\"GSSCQOPDEFAULT\" is currently the only supported QOP.\n\nmech        The name of a GSSAPI mechanism.  \"kerberosv5\" is currently the only supported\nmechanism.\n\nnumberret  Buffer in which to place the returned QOP number\n",
            "subsections": []
        },
        "RETURN VALUES": {
            "content": "If the QOP and mechanism names are recognized, TRUE is returned.  The corresponding QOP number\nis returned in *numret.  Otherwise FALSE is returned and\nis left untouched.\n",
            "subsections": []
        },
        "AVAILABILITY": {
            "content": "The rpcgssqoptonum() function is part of libtirpc.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "rpc(3), gssapi(3), rpcsecgss(3)\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "This manual page was written by Doug Rabson <dfr@FreeBSD.org>.\n\nBSD                            January 26, 2010                            BSD",
            "subsections": []
        }
    },
    "summary": "rpcgssqoptonum — Convert a Quality of Protection name to number",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "rpc",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/rpc/3/json"
        },
        {
            "name": "gssapi",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/gssapi/3/json"
        },
        {
            "name": "rpcsecgss",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/rpcsecgss/3/json"
        }
    ]
}