Ignore:
Timestamp:
Sep 30, 2007, 3:42:50 AM (18 years ago)
Author:
Paul Smedley
Message:

Update trunk to 3.2.0pre1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/lib/talloc/talloc.h

    r39 r77  
    1515   modify it under the terms of the GNU Lesser General Public
    1616   License as published by the Free Software Foundation; either
    17    version 2 of the License, or (at your option) any later version.
     17   version of the License, or (at your option) any later version.
    1818
    1919   This library is distributed in the hope that it will be useful,
     
    2323
    2424   You should have received a copy of the GNU Lesser General Public
    25    License along with this library; if not, write to the Free Software
    26    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     25   License along with this library; if not, see <http://www.gnu.org/licenses/>.
    2726*/
     27
     28
     29
     30
    2831
    2932/* this is only needed for compatibility with the old talloc */
     
    109112#define talloc_realloc_p(ctx, p, type, count) talloc_realloc(ctx, p, type, count)
    110113#define talloc_destroy(ctx) talloc_free(ctx)
     114
    111115#endif
    112116
     
    150154void *_talloc_zero(const void *ctx, size_t size, const char *name);
    151155void *_talloc_memdup(const void *t, const void *p, size_t size, const char *name);
    152 char *talloc_strdup(const void *t, const char *p);
    153 char *talloc_strndup(const void *t, const char *p, size_t n);
    154 char *talloc_append_string(const void *t, char *orig, const char *append);
    155 char *talloc_vasprintf(const void *t, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0);
    156 char *talloc_vasprintf_append(char *s, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0);
    157 char *talloc_asprintf(const void *t, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3);
    158 char *talloc_asprintf_append(char *s, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3);
    159156void *_talloc_array(const void *ctx, size_t el_size, unsigned count, const char *name);
    160157void *_talloc_zero_array(const void *ctx, size_t el_size, unsigned count, const char *name);
     
    167164int talloc_is_parent(const void *context, const void *ptr);
    168165
     166
     167
     168
     169
     170
     171
     172
     173
     174
     175
     176
     177
     178
     179
     180
     181
    169182#endif
Note: See TracChangeset for help on using the changeset viewer.