Coda Distributed File System
pdbarray.h
Go to the documentation of this file.
1#ifndef pdb_array_H
2#define pdb_array_H
3
4/* BLURB gpl
5
6 Coda File System
7 Release 6
8
9 Copyright (c) 1987-2003 Carnegie Mellon University
10 Additional copyrights listed below
11
12This code is distributed "AS IS" without warranty of any kind under
13the terms of the GNU General Public Licence Version 2, as shown in the
14file LICENSE. The technical and financial contributors to Coda are
15listed in the file CREDITS.
16
17 Additional copyrights
18
19 Copyright (C) 1998 John-Anthony Owens, Samuel Ieong, Rudi Seitz
20
21 This program is free software; you can redistribute it and/or modify
22 it under the terms of the GNU General Public License as published by
23 the Free Software Foundation; either version 2, or (at your option)
24 any later version.
25
26 This program is distributed in the hope that it will be useful,
27 but WITHOUT ANY WARRANTY; without even the implied warranty of
28 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 GNU General Public License for more details.
30
31*/
32
33#ifdef HAVE_CONFIG_H
34#include <config.h>
35#endif
36
37#include <stdio.h>
38#include <sys/types.h>
39
40typedef struct pdb_array {
44
45typedef int pdb_array_off;
46
60int pdb_array_snprintf(char *d, pdb_array *l, int len);
61
62#endif
int int32_t
Definition: coda.h:104
x
Definition: pwdtopdbtool.py:40
int32_t pdb_array_size(pdb_array *l)
Definition: pdbarray.c:194
int pdb_array_unpack(int32_t *s, pdb_array *l)
Definition: pdbarray.c:211
int pdb_array_search(pdb_array *l, int32_t x)
Definition: pdbarray.c:41
int pdb_array_pack(int32_t *d, pdb_array *l)
Definition: pdbarray.c:200
int pdb_array_snprintf(char *d, pdb_array *l, int len)
Definition: pdbarray.c:234
void pdb_array_del(pdb_array *l, int32_t x)
Definition: pdbarray.c:120
int pdb_array_to_array(int32_t *d, pdb_array *l)
Definition: pdbarray.c:226
void pdb_array_add(pdb_array *l, int32_t x)
Definition: pdbarray.c:86
int32_t pdb_array_head(pdb_array *l, pdb_array_off *off)
Definition: pdbarray.c:178
void pdb_array_init(pdb_array *l)
Definition: pdbarray.c:69
struct pdb_array pdb_array
void pdb_array_copy(pdb_array *d, pdb_array *s)
Definition: pdbarray.c:135
int32_t pdb_array_next(pdb_array *l, pdb_array_off *off)
Definition: pdbarray.c:186
void pdb_array_free(pdb_array *l)
Definition: pdbarray.c:76
int pdb_array_off
Definition: pdbarray.h:45
void pdb_array_merge(pdb_array *d, pdb_array *s)
Definition: pdbarray.c:143
Definition: pdbarray.h:40
int32_t size
Definition: pdbarray.h:41
int32_t memsize
Definition: pdbarray.h:41
int32_t * data
Definition: pdbarray.h:42
char d
Definition: tdb.c:54