My Project
Functions | Variables
gtp.c File Reference
#include "options.h"
#include "search.h"
#include "util.h"
#include "ui.h"
#include "play.h"
#include <ctype.h>

Functions

static void gtp_observer (Result *result)
 
void gtp_preprocess (char *line)
 
static void gtp_send (const char *s, int id, bool has_id)
 
static void gtp_fail (const char *s, int id, bool has_id)
 
static char * gtp_parse_color (char *s, int *color)
 
void ui_init_gtp (UI *ui)
 initialize edax protocol More...
 
void ui_free_gtp (UI *ui)
 free resources used by edax protocol More...
 
void ui_loop_gtp (UI *ui)
 Loop event. More...
 

Variables

static Log gtp_log [1]
 

Detailed Description

Go Text Protocol

Date
1998 - 2017
Author
Richard Delorme
Version
4.4

Function Documentation

◆ gtp_fail()

static void gtp_fail ( const char *  s,
int  id,
bool  has_id 
)
static

◆ gtp_observer()

static void gtp_observer ( Result result)
static

◆ gtp_parse_color()

static char * gtp_parse_color ( char *  s,
int *  color 
)
static

◆ gtp_preprocess()

void gtp_preprocess ( char *  line)

◆ gtp_send()

static void gtp_send ( const char *  s,
int  id,
bool  has_id 
)
static

◆ ui_free_gtp()

void ui_free_gtp ( UI ui)

free resources used by edax protocol

Parameters
uiuser interface

◆ ui_init_gtp()

void ui_init_gtp ( UI ui)

initialize edax protocol

Parameters
uiuser interface

◆ ui_loop_gtp()

void ui_loop_gtp ( UI ui)

Loop event.

Parameters
uiuser interface

Variable Documentation

◆ gtp_log

Log gtp_log[1]
static