facade.h
Go to the documentation of this file.
00001 /* facade.h
00002  */
00003 #ifndef OSL_FACADE_H
00004 #define OSL_FACADE_H
00005 
00006 extern "C" {
00007   extern void osl_init();
00008   // size of move must be at least 8
00009   extern int checkmate_attack(const char *state, int& limit, char *move);
00010   extern int checkmate_escape(const char *state, int limit);
00011   extern int search(const char *state, int seconds, int verbose, char *move);
00012 
00022   extern int usiMovesToKanji(const char *command, char *out, int out_size);
00032   extern int usiMovesToPositionString(const char *moves_str, char *out, int out_size);
00033 }
00034 
00035 #endif /* OSL_FACADE_H */
00036 // ;;; Local Variables:
00037 // ;;; mode:c
00038 // ;;; c-basic-offset:2
00039 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines