gsp.h File Reference

#include <adt/hash_table.h>

Go to the source code of this file.

Data Structures

struct  gsp_t
 Scancode parser description. More...
struct  gsp_trans_t
 Scancode parser transition. More...

Enumerations

enum  { GSP_END = -1, GSP_DEFAULT = -2 }

Functions

void gsp_init (gsp_t *p)
 Initialise scancode parser.
int gsp_insert_defs (gsp_t *p, const int *defs)
 Insert a series of definitions into the parser.
int gsp_insert_seq (gsp_t *p, const int *seq, unsigned mods, unsigned key)
 Insert one sequence into the parser.
int gsp_step (gsp_t *p, int state, int input, unsigned *mods, unsigned *key)
 Compute one parser step.


Detailed Description

Definition in file gsp.h.


Generated on Thu Jun 2 07:45:55 2011 for HelenOS/USB by  doxygen 1.4.7