{
    "mode": "man",
    "parameter": "RPC_GSS_GET_MECH_INFO",
    "section": "3",
    "url": "https://www.chedong.com/phpMan.php/man/RPC_GSS_GET_MECH_INFO/3/json",
    "generated": "2026-06-02T15:18:37Z",
    "synopsis": "#include <rpc/rpcsecgss.h>\nconst char\nrpcgssgetmechinfo(const char *mech, rpcgssservicet *service);",
    "sections": {
        "NAME": {
            "content": "rpcgssgetmechinfo — Get Quality of Protection information for a security mechanism\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "#include <rpc/rpcsecgss.h>\n\nconst char\nrpcgssgetmechinfo(const char *mech, rpcgssservicet *service);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This function returns the list of QOP names supported by the GSSAPI mechanism named \"mech\".\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "mech     The name of a GSSAPI mechanism.  \"kerberosv5\" is currently the only supported mecha‐\nnism.\n\nservice  Buffer in which maximum service type is planted\n",
            "subsections": []
        },
        "RETURN VALUES": {
            "content": "If the named GSSAPI mechanism is recognized, a list of the supported Qualities of Protection\nis returned.  The maximum supported service type for the mechanism is returned in *service.\nOtherwise NULL is returned.\n\nNote: The returned QOP list is statically allocated memory.  The caller must not free this ar‐\nray.\n",
            "subsections": []
        },
        "AVAILABILITY": {
            "content": "The rpcgssgetmechinfo() 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": "rpcgssgetmechinfo — Get Quality of Protection information for a security mechanism",
    "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"
        }
    ]
}