mudgangster

Tiny, scriptable MUD client
Log | Files | Refs | README

script.h (375B)


      1 #pragma once
      2 
      3 #include <stddef.h>
      4 
      5 // TODO: should be size_t here?
      6 void script_handleInput( const char * buffer, int len );
      7 void script_doMacro( const char * key, int len, bool shift, bool ctrl, bool alt );
      8 void script_handleClose();
      9 void script_socketData( void * sock, const char * data, size_t len );
     10 void script_fire_intervals();
     11 
     12 void script_init();
     13 void script_term();