Startpunkten
This commit is contained in:
31
Lab2/tree.h
Normal file
31
Lab2/tree.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Laboration 2 i C och UNIX
|
||||
*
|
||||
* Komplett shell
|
||||
* =========================================
|
||||
*
|
||||
* Christian Ohlsson, di7chro@cse.kau.se
|
||||
* Stefan Sonesson, di7stes@cse.kau.se
|
||||
*
|
||||
* Karlstads Universitet, 991209
|
||||
*
|
||||
*
|
||||
*===========================================
|
||||
*/
|
||||
#ifndef _TREE_H
|
||||
#define _TREE_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
extern char *symTable[];
|
||||
/*Nod som finns i trädet*/
|
||||
typedef struct node{
|
||||
int nodeType;
|
||||
int index;
|
||||
struct node* left;
|
||||
struct node* right;
|
||||
}treeNode;
|
||||
|
||||
typedef treeNode *treePtr;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user