aboutsummaryrefslogtreecommitdiffstats
path: root/test/ccured_olden/mst/mst.h
blob: 4af1e346acf2d279a30d4b26c71164cfc330eb75 (plain)
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
30
31
32
33
/* For copyright information, see olden_v1.0/COPYRIGHT */

#ifdef SS_PLAIN
#include <stdlib.h>
#endif SS_PLAIN

#include "hash.h"
#define MAXPROC 1

#ifndef SS_PLAIN
/* Amir: Get these out of here for SS, piggyback on the PLAIN definition */
#include "mem-ref.h"
#define NULL 0
#endif SS_PLAIN

typedef struct vert_st {
  int mindist;
  struct vert_st *next;
  Hash edgehash;
  unsigned int padding;
} *Vertex;

typedef struct graph_st {
  Vertex vlist;
} *Graph;

Graph MakeGraph(int numvert);

#ifdef SS_PLAIN
#include <stdarg.h>
void chatting(char *s, ...);
#endif SS_PLAIN