// Direction types enum x_direction_t { X_RIGHT = 0, X_LEFT = 1, };