{
    "mode": "man",
    "parameter": "RPC_GSS_MECH_TO_OID",
    "section": "3",
    "url": "https://www.chedong.com/phpMan.php/man/RPC_GSS_MECH_TO_OID/3/json",
    "generated": "2026-06-02T15:18:45Z",
    "synopsis": "#include <rpc/rpcsecgss.h>\nboolt\nrpcgssmechtooid(const char *mech, gssOID *oidret);",
    "sections": {
        "NAME": {
            "content": "rpcgssmechtooid — Convert a mechanism name to a GSS-API oid\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "#include <rpc/rpcsecgss.h>\n\nboolt\nrpcgssmechtooid(const char *mech, gssOID *oidret);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This function returns the GSS OID associated with the GSSAPI mechanism \"mech\".\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "mech     The name of a GSSAPI mechanism.  \"kerberosv5\" is currently the only supported mecha‐\nnism.\n\noidret  Buffer in which to place the returned OID\n",
            "subsections": []
        },
        "RETURN VALUES": {
            "content": "If the GSSAPI mechanism name is recognized, TRUE is returned.  The corresponding GSS-API oid\nis returned in *oidret.  Otherwise FALSE is returned and *oidret is left untouched.\n",
            "subsections": []
        },
        "AVAILABILITY": {
            "content": "The rpcgssmechtooid() 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": "rpcgssmechtooid — Convert a mechanism name to a GSS-API oid",
    "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"
        }
    ]
}