Blame doc/html/appdev/refs/api/krb5_unparse_name_ext.html

Packit fd8b60
Packit fd8b60
Packit fd8b60
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Packit fd8b60
Packit fd8b60
<html xmlns="http://www.w3.org/1999/xhtml">
Packit fd8b60
  <head>
Packit fd8b60
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Packit fd8b60
    <title>krb5_unparse_name_ext - Convert krb5_principal structure to string and length. — MIT Kerberos Documentation</title>
Packit fd8b60
    <link rel="stylesheet" href="../../../_static/agogo.css" type="text/css" />
Packit fd8b60
    <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
Packit fd8b60
    <link rel="stylesheet" href="../../../_static/kerb.css" type="text/css" />
Packit fd8b60
    <script type="text/javascript">
Packit fd8b60
      var DOCUMENTATION_OPTIONS = {
Packit fd8b60
        URL_ROOT:    '../../../',
Packit fd8b60
        VERSION:     '1.18.2',
Packit fd8b60
        COLLAPSE_INDEX: false,
Packit fd8b60
        FILE_SUFFIX: '.html',
Packit fd8b60
        HAS_SOURCE:  true,
Packit fd8b60
        SOURCELINK_SUFFIX: '.txt'
Packit fd8b60
      };
Packit fd8b60
    </script>
Packit fd8b60
    <script type="text/javascript" src="../../../_static/jquery.js"></script>
Packit fd8b60
    <script type="text/javascript" src="../../../_static/underscore.js"></script>
Packit fd8b60
    <script type="text/javascript" src="../../../_static/doctools.js"></script>
Packit fd8b60
    <link rel="author" title="About these documents" href="../../../about.html" />
Packit fd8b60
    <link rel="index" title="Index" href="../../../genindex.html" />
Packit fd8b60
    <link rel="search" title="Search" href="../../../search.html" />
Packit fd8b60
    <link rel="copyright" title="Copyright" href="../../../copyright.html" />
Packit fd8b60
    <link rel="next" title="krb5_unparse_name_flags - Convert krb5_principal structure to a string with flags." href="krb5_unparse_name_flags.html" />
Packit fd8b60
    <link rel="prev" title="krb5_unparse_name - Convert a krb5_principal structure to a string representation." href="krb5_unparse_name.html" /> 
Packit fd8b60
  </head>
Packit fd8b60
  <body>
Packit fd8b60
    
Packit fd8b60
        
Packit fd8b60
            
Packit fd8b60
            
Packit fd8b60
            

MIT Kerberos Documentation

Packit fd8b60
            
Packit fd8b60
            
Packit fd8b60
                
Packit fd8b60
        
Packit fd8b60
            accesskey="C">Contents |
Packit fd8b60
        
Packit fd8b60
            accesskey="P">previous |
Packit fd8b60
        
Packit fd8b60
            accesskey="N">next |
Packit fd8b60
        
Packit fd8b60
            accesskey="I">index |
Packit fd8b60
        
Packit fd8b60
            accesskey="S">Search |
Packit fd8b60
    feedback
Packit fd8b60
            
Packit fd8b60
        
Packit fd8b60
    
Packit fd8b60
Packit fd8b60
    
Packit fd8b60
      
Packit fd8b60
        
Packit fd8b60
            
Packit fd8b60
      
Packit fd8b60
        
Packit fd8b60
          
Packit fd8b60
            
Packit fd8b60
  
Packit fd8b60

krb5_unparse_name_ext - Convert krb5_principal structure to string and length.

Packit fd8b60
Packit fd8b60
Packit fd8b60
krb5_error_code krb5_unparse_name_ext(krb5_context context, krb5_const_principal principal, char ** name, unsigned int * size)
Packit fd8b60
Packit fd8b60
Packit fd8b60
Packit fd8b60
Packit fd8b60
Packit fd8b60
Packit fd8b60
param:

[in] context - Library context

Packit fd8b60

[in] principal - Principal

Packit fd8b60

[inout] name - String representation of principal name

Packit fd8b60

[inout] size - Size of unparsed name

Packit fd8b60
Packit fd8b60
Packit fd8b60
Packit fd8b60
Packit fd8b60
Packit fd8b60
Packit fd8b60
Packit fd8b60
Packit fd8b60
retval:
    Packit fd8b60
  • 0 Success
  • Packit fd8b60
    Packit fd8b60
    Packit fd8b60
    Packit fd8b60
    return:
      Packit fd8b60
    • Kerberos error codes. On failure name is set to NULL
    • Packit fd8b60
      Packit fd8b60
      Packit fd8b60
      Packit fd8b60
      Packit fd8b60
      Packit fd8b60

      This function is similar to krb5_unparse_name() , but allows the use of an existing buffer for the result. If size is not NULL, then name must point to either NULL or an existing buffer of at least the size pointed to by size . The buffer will be allocated or resized if necessary, with the new pointer stored into name . Whether or not the buffer is resized, the necessary space for the result, including null terminator, will be stored into size .

      Packit fd8b60

      If size is NULL, this function behaves exactly as krb5_unparse_name() .

      Packit fd8b60
      Packit fd8b60
      Packit fd8b60
      Packit fd8b60
                
      Packit fd8b60
              
      Packit fd8b60
            
      Packit fd8b60
              
      Packit fd8b60
              
      Packit fd8b60
          

      On this page

      Packit fd8b60
          
        Packit fd8b60
      • krb5_unparse_name_ext - Convert krb5_principal structure to string and length.
      • Packit fd8b60
        Packit fd8b60
        Packit fd8b60
            
        Packit fd8b60
            

        Table of contents

        Packit fd8b60
            
          Packit fd8b60
        • For users
        • Packit fd8b60
        • For administrators
        • Packit fd8b60
        • For application developers
          • Packit fd8b60
          • Developing with GSSAPI
          • Packit fd8b60
          • Year 2038 considerations for uses of krb5_timestamp
          • Packit fd8b60
          • Differences between Heimdal and MIT Kerberos API
          • Packit fd8b60
          • Initial credentials
          • Packit fd8b60
          • Principal manipulation and parsing
          • Packit fd8b60
          • Complete reference - API and datatypes
            • Packit fd8b60
            • krb5 API
            • Packit fd8b60
            • krb5 types and structures
            • Packit fd8b60
            • krb5 simple macros
            • Packit fd8b60
              Packit fd8b60
              Packit fd8b60
              Packit fd8b60
              Packit fd8b60
            • For plugin module developers
            • Packit fd8b60
            • Building Kerberos V5
            • Packit fd8b60
            • Kerberos V5 concepts
            • Packit fd8b60
            • Protocols and file formats
            • Packit fd8b60
            • MIT Kerberos features
            • Packit fd8b60
            • How to build this documentation from the source
            • Packit fd8b60
            • Contributing to the MIT Kerberos Documentation
            • Packit fd8b60
            • Resources
            • Packit fd8b60
              Packit fd8b60
              Packit fd8b60
                  
              Packit fd8b60
                  

              Full Table of Contents

              Packit fd8b60
                  

              Search

              Packit fd8b60
                  <form class="search" action="../../../search.html" method="get">
              Packit fd8b60
                    <input type="text" name="q" size="18" />
              Packit fd8b60
                    <input type="submit" value="Go" />
              Packit fd8b60
                    <input type="hidden" name="check_keywords" value="yes" />
              Packit fd8b60
                    <input type="hidden" name="area" value="default" />
              Packit fd8b60
                  </form>
              Packit fd8b60
                      
              Packit fd8b60
                      
              Packit fd8b60
                    
              Packit fd8b60
                  
              Packit fd8b60
              Packit fd8b60
                  
              Packit fd8b60
                      
              Packit fd8b60
                          
              Release: 1.18.2
              Packit fd8b60
                              © Copyright 1985-2020, MIT.
              Packit fd8b60
                          
              Packit fd8b60
                          
              Packit fd8b60
                              
              Packit fd8b60
                      
              Packit fd8b60
                          >Contents |
              Packit fd8b60
                      
              Packit fd8b60
                          >previous |
              Packit fd8b60
                      
              Packit fd8b60
                          >next |
              Packit fd8b60
                      
              Packit fd8b60
                          >index |
              Packit fd8b60
                      
              Packit fd8b60
                          >Search |
              Packit fd8b60
                  feedback
              Packit fd8b60
                          
              Packit fd8b60
                      
              Packit fd8b60
                  
              Packit fd8b60
              Packit fd8b60
                </body>
              Packit fd8b60
              </html>