File: link.h

package info (click to toggle)
libdbd-informix-perl 2003.04-3
  • links: PTS
  • area: contrib
  • in suites: etch, etch-m68k, sarge
  • size: 1,232 kB
  • ctags: 467
  • sloc: perl: 7,349; ansic: 5,340; sh: 184; makefile: 58
file content (29 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * @(#)$Id: link.h,v 2003.1 2003/01/14 23:52:40 jleffler Exp $
 *
 * Copyright 1998    Jonathan Leffler
 * Copyright 2002-03 IBM
 *
 * You may distribute under the terms of either the GNU General Public
 * License or the Artistic License, as specified in the Perl README file.
 */

#ifndef LINK_H
#define LINK_H

/* Doubly linked list for tracking connections and statements */
typedef struct Link Link;

struct Link
{
	Link	*next;
	Link	*prev;
	void	*data;
};

extern void dbd_ix_link_add(Link *link_1, Link *link_n);
extern void dbd_ix_link_delete(Link *link_d, void (*function)(void *));
extern void dbd_ix_link_delchain(Link *head, void (*function)(void *));
extern void dbd_ix_link_newhead(Link *link);

#endif	/* LINK_H */