File: ilist.h

package info (click to toggle)
cowdancer 0.47
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 696 kB
  • ctags: 179
  • sloc: ansic: 2,634; sh: 407; makefile: 116; cpp: 6; python: 4
file content (26 lines) | stat: -rw-r--r-- 509 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
21
22
23
24
25
26
/* 
   define ilist common struct, shared between cowdancer, and cow-shell.
 */

#define ILISTREVISION 2
/* 'COWD' in the host-order */
#define ILISTSIG 0x4f434457

struct ilist_header
{
  int ilistsig;
  int revision;
  int ilist_struct_size;
  int dummy;
};

struct ilist_struct
{
  dev_t dev;
  ino_t inode;
};

void ilist_outofmemory(const char* msg);
int ilistcreate(const char* ilistpath, const char* findcommandline);
int compare_ilist (const void *a, const void *b);
extern const char* ilist_PRGNAME;