~ubuntu-branches/ubuntu/breezy/judy/breezy

« back to all changes in this revision

Viewing changes to src/JudyCommon/JudyMalloc.h

  • Committer: Bazaar Package Importer
  • Author(s): Theodore Y. Ts'o
  • Date: 2004-01-17 00:04:53 UTC
  • Revision ID: james.westby@ubuntu.com-20040117000453-d5sj6uoon2v1g4gf
Tags: upstream-0.0.4
ImportĀ upstreamĀ versionĀ 0.0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _JUDYMALLOC_INCLUDED
 
2
#define _JUDYMALLOC_INCLUDED
 
3
// _________________
 
4
//
 
5
// Copyright (C) 2000 - 2002 Hewlett-Packard Company
 
6
//
 
7
// This program is free software; you can redistribute it and/or modify it
 
8
// under the term of the GNU Lesser General Public License as published by the
 
9
// Free Software Foundation; either version 2 of the License, or (at your
 
10
// option) any later version.
 
11
//
 
12
// This program is distributed in the hope that it will be useful, but WITHOUT
 
13
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
14
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
 
15
// for more details.
 
16
//
 
17
// You should have received a copy of the GNU Lesser General Public License
 
18
// along with this program; if not, write to the Free Software Foundation,
 
19
// Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
20
// _________________
 
21
 
 
22
// @(#) $Revision: 4.20 $ $Source: /judy/src/JudyCommon/JudyMalloc.h $
 
23
 
 
24
#include "JudyPrivate.h"
 
25
 
 
26
// Function prototypes (signatures):
 
27
 
 
28
Word_t JudyMalloc(Word_t);               // words req'd => words alloc'd.
 
29
Word_t JudyMallocVirtual(Word_t);        // words req'd => words alloc'd.
 
30
void   JudyFree(Pvoid_t, Word_t);        // block to free and its size in words.
 
31
void   JudyFreeVirtual(Pvoid_t, Word_t); // block to free and its size in words.
 
32
 
 
33
#endif // ! _JUDYMALLOC_INCLUDED