File: mempool.h

package info (click to toggle)
validns 0.8%2Bgit20230810.a7e6b4f-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,260 kB
  • sloc: ansic: 7,496; perl: 308; makefile: 163
file content (20 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Part of DNS zone file validator `validns`.
 *
 * Copyright 2011-2014 Anton Berezin <tobez@tobez.org>
 * Modified BSD license.
 * (See LICENSE file in the distribution.)
 *
 */
#ifndef _MEMPOOL_H
#define _MEMPOOL_H 1

void mem_requirements_hint(size_t size);
void *getmem(size_t size);
char *quickstrdup(char *s);

int freeall_temp(void);
void *getmem_temp(size_t size);
char *quickstrdup_temp(char *s);

#endif