All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
c/facade.h
Go to the documentation of this file.
1 /* facade.h
2  */
3 #ifndef OSL_FACADE_H
4 #define OSL_FACADE_H
5 
6 extern "C" {
7  extern void osl_init();
8  // size of move must be at least 8
9  extern int checkmate_attack(const char *state, int& limit, char *move);
10  extern int checkmate_escape(const char *state, int limit);
11  extern int search(const char *state, int seconds, int verbose, char *move);
12 
22  extern int usiMovesToKanji(const char *command, char *out, int out_size);
32  extern int usiMovesToPositionString(const char *moves_str, char *out, int out_size);
33 }
34 
35 #endif /* OSL_FACADE_H */
36 // ;;; Local Variables:
37 // ;;; mode:c
38 // ;;; c-basic-offset:2
39 // ;;; End: