File: proto.h

package info (click to toggle)
mgt 2.31-7
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 460 kB
  • ctags: 582
  • sloc: ansic: 4,852; sh: 411; pascal: 329; makefile: 88; csh: 3
file content (87 lines) | stat: -rw-r--r-- 2,305 bytes parent folder | download | duplicates (6)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
extern void clearLast();
extern void highlightLast();
extern void doPlace();
extern void doProps();
extern void doPropComment();
extern void buildTree0();
extern void buildTree();
extern void setPiece();
extern void updateBoard();
extern char *commentGet();	/* int */
extern int commentLines();
extern void formatComment();
extern int okChange();
extern int okExit();
extern nodep search();	/* return 0 on failure */
extern void step();
extern void stepDown();
extern void doScore();
extern nodep loadFile();
extern nodep makeTutor();
extern void doit();
extern void writeStrEscaped();
extern void writeNode();
extern void WriteSubTree();
extern int writeCoordList();
extern int writeTree();
extern int addMark();
extern void addStone();
extern int makeMove();
extern int passMove();
extern void addPlayer();
extern void makeVariation();
extern void cutTree();
extern boolean pasteTree();
extern void edComment();
extern void deleteNode();
extern void makeName();
extern void replaceComment();
extern main();
extern void die();
extern void myexit();
extern void openfile();
extern void barf();
extern void initEnv();
extern void init();
extern void helpCommandLine();
extern void parseLine();
extern void readInit();
extern void addChild();	/* add child c to node n */
extern nodep parse();
extern int legal();
extern boolean inRange();
extern boolean alive0();
extern boolean alive();	/* Does group at i,j have liberties? */
extern void removeStones();
extern boolean tryKill();
extern void placeStone();
extern void boardSet();
extern piece boardGet();
extern void boardClear();
extern void copyBoard();
extern void scoreBoard();
extern boolean getCoord();
extern coordList *addCoord();
extern void setCoord();
extern void clearCoord();
extern void initNodes();
extern nodep newNode();
extern void freeNode();
extern char *dupStr();
extern void freeProps();
extern void delNode();
extern void addprop();
extern property *getprop();
extern int treeCountSiblings();
extern nodep nthChild();	/* nodep, int */
extern nodep parent();
extern nodep child();
extern nodep lastSibling();
extern nodep nextSibling();
extern nodep treeLastSibling();
extern nodep treeDown();
extern nodep treeUp();
extern nodep treeNextUp();
extern nodep treeNext();
extern nodep lastChildOfLastSibling();
extern nodep treeLast();