File: prio_list.h

package info (click to toggle)
jgraph 83-23
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 652 kB
  • ctags: 446
  • sloc: ansic: 4,596; makefile: 146; sh: 106; awk: 104
file content (21 lines) | stat: -rw-r--r-- 465 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _PRIO_LIST_H
#define _PRIO_LIST_H

/* 
 * $Source: /tmp_mnt/n/fs/grad1/jsp/src/jgraph/RCS/prio_list.h,v $
 * $Revision: 8.3 $
 * $Date: 92/11/30 11:42:34 $
 * $Author: jsp $
 */

/* A prioirity list is any list with the first three fields being flink, 
 * blink and prio.  Use the routines of list.c to do everything except
 * insertion */
 
typedef struct prio_list {
  struct prio_list *flink;
  struct prio_list *blink;
  int prio;
} *Prio_list;

#endif