File: sgfOut.h

package info (click to toggle)
cgoban 1.9.14-18
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 3,448 kB
  • sloc: ansic: 36,037; sh: 707; makefile: 259
file content (30 lines) | stat: -rw-r--r-- 719 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
/*
 * src/sgfOut.h, part of Complete Goban (game program)
 * Copyright (C) 1995 William Shubert.
 * See "configure.h.in" for more copyright information.
 */


#ifndef  _SGFOUT_H_
#define  _MOVECHAIN_H_  1

#ifndef  _SGF_H_
#include "sgf.h"
#endif


/**********************************************************************
 * Functions
 **********************************************************************/
/**
 * Write an sgf file out.
 *
 * @param mc The SGF tree.
 * @param fname The file name to save to.
 * @param err Where to write the error code when there is an error.
 * @return TRUE on success, FALSE on failure.
 */
extern bool sgf_writeFile(Sgf *mc, const char *fname, int *err);


#endif  /* _SGFOUT_H_ */