Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/lib/talloc/talloc.3.xml

    r414 r740  
    1111  </refnamediv>
    1212  <refsynopsisdiv>
    13 <synopsis>#include &lt;talloc/talloc.h&gt;</synopsis>
     13<synopsis>#include &lt;talloc.h&gt;</synopsis>
    1414  </refsynopsisdiv>
    1515  <refsect1><title>DESCRIPTION</title>
     
    363363        <para>
    364364          This is a utility macro that creates a new memory context hanging
    365           off an exiting context, automatically naming it "talloc_new:
     365          off an existing context, automatically naming it "talloc_new:
    366366          __location__" where __location__ is the source line it is called
    367367          from.  It is particularly useful for creating a new temporary
     
    646646        <programlisting>talloc_set_name_const(ptr, ptr)</programlisting>
    647647    </refsect2>
    648     <refsect2><title>char *talloc_append_string(const void *<emphasis role="italic">t</emphasis>, char *<emphasis role="italic">orig</emphasis>, const char *<emphasis role="italic">append</emphasis>);</title>
    649         <para>
    650           The talloc_append_string() function appends the given formatted
    651           string to the given string.
     648    <refsect2><title>char *talloc_vasprintf(const void *<emphasis role="italic">t</emphasis>, const char *<emphasis role="italic">fmt</emphasis>, va_list <emphasis role="italic">ap</emphasis>);</title>
     649        <para>
     650          The talloc_vasprintf() function is the talloc equivalent of the C
     651          library function vasprintf(3).
    652652        </para>
    653653        <para>
     
    657657        <programlisting>talloc_set_name_const(ptr, ptr)</programlisting>
    658658    </refsect2>
    659     <refsect2><title>char *talloc_vasprintf(const void *<emphasis role="italic">t</emphasis>, const char *<emphasis role="italic">fmt</emphasis>, va_list <emphasis role="italic">ap</emphasis>);</title>
    660         <para>
    661           The talloc_vasprintf() function is the talloc equivalent of the C
    662           library function vasprintf(3).
     659    <refsect2><title>char *talloc_asprintf(const void *<emphasis role="italic">t</emphasis>, const char *<emphasis role="italic">fmt</emphasis>, ...);</title>
     660        <para>
     661          The talloc_asprintf() function is the talloc equivalent of the C
     662          library function asprintf(3).
     663        </para>
     664        <para>
     665          This function sets the name of the new pointer to the passed
     666          string. This is equivalent to:
     667        </para>
     668        <programlisting>talloc_set_name_const(ptr, ptr)</programlisting>
     669    </refsect2>
     670    <refsect2><title>char *talloc_asprintf_append(char *s, const char *fmt, ...);</title>
     671        <para>
     672          The talloc_asprintf_append() function appends the given formatted
     673          string to the given string.
    663674        </para>
    664675        <para>
     
    668679        <programlisting>talloc_set_name_const(ptr, ptr)</programlisting>
    669680    </refsect2>
    670     <refsect2><title>char *talloc_asprintf(const void *<emphasis role="italic">t</emphasis>, const char *<emphasis role="italic">fmt</emphasis>, ...);</title>
    671         <para>
    672           The talloc_asprintf() function is the talloc equivalent of the C
    673           library function asprintf(3).
    674         </para>
    675         <para>
    676           This function sets the name of the new pointer to the passed
    677           string. This is equivalent to:
    678         </para>
    679         <programlisting>talloc_set_name_const(ptr, ptr)</programlisting>
    680     </refsect2>
    681     <refsect2><title>char *talloc_asprintf_append(char *s, const char *fmt, ...);</title>
    682         <para>
    683           The talloc_asprintf_append() function appends the given formatted
    684           string to the given string.
    685         </para>
    686         <para>
    687           This function sets the name of the new pointer to the new
    688           string. This is equivalent to:
    689         </para>
    690         <programlisting>talloc_set_name_const(ptr, ptr)</programlisting>
    691     </refsect2>
    692     <refsect2><title>(type *)talloc_array(const void *ctx, type, uint_t count);</title>
     681    <refsect2><title>(type *)talloc_array(const void *ctx, type, unsigned int count);</title>
    693682        <para>
    694683          The talloc_array() macro is equivalent to:
     
    700689        </para>
    701690    </refsect2>
    702     <refsect2><title>void *talloc_array_size(const void *ctx, size_t size, uint_t count);</title>
     691    <refsect2><title>void *talloc_array_size(const void *ctx, size_t size, unsigned int count);</title>
    703692        <para>
    704693          The talloc_array_size() function is useful when the type is not
     
    707696        </para>
    708697    </refsect2>
    709     <refsect2><title>(typeof(ptr)) talloc_array_ptrtype(const void *ctx, ptr, uint_t count);</title>
     698    <refsect2><title>(typeof(ptr)) talloc_array_ptrtype(const void *ctx, ptr, unsigned int count);</title>
    710699        <para>
    711700          The talloc_ptrtype() macro should be used when you have a pointer to an array
Note: See TracChangeset for help on using the changeset viewer.