GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include <setjmp.h>
#include <unistd.h>
#include <errno.h>
#include <sys/time.h>
#include <sys/types.h>
#include <grass/gis.h>
#include <grass/graphics.h>
#include "driverlib.h"
#include "driver.h"
#include "pad.h"
#include <grass/glocale.h>
Go to the source code of this file.
Macros | |
#define | REC(a, b) if ((ateof=rec((a),(b)))) break |
#define | RECTEXT(x, s) if ((ateof=rectext(&x,&s))) break |
#define | SEND(a, b) _send((a),(b)) |
#define | SENDTEXT(x) sendtext((x)) |
Functions | |
void | command_init (int rfd, int wfd) |
int | LIB_command_get_input (void) |
int | process_command (int c) |
int | get_command (char *c) |
Definition at line 32 of file command.c.
Referenced by process_command().
#define RECTEXT | ( | x, | |
s | |||
) | if ((ateof=rectext(&x,&s))) break |
Definition at line 33 of file command.c.
Referenced by process_command().
Definition at line 34 of file command.c.
Referenced by process_command().
#define SENDTEXT | ( | x | ) | sendtext((x)) |
Definition at line 35 of file command.c.
Referenced by process_command().
Definition at line 82 of file command.c.
Referenced by LIB_main().
int get_command | ( | char * | c | ) |
Definition at line 111 of file command.c.
References append_item(), b, BEGIN, COM_begin_scaled_raster(), COM_Bitmap(), COM_Box_abs(), COM_Box_rel(), COM_Color_RGB(), COM_Cont_abs(), COM_Cont_rel(), COM_end_scaled_raster(), COM_Erase(), COM_Font_get(), COM_Font_info(), COM_Font_init_charset(), COM_Font_list(), COM_Get_location_with_box(), COM_Get_location_with_line(), COM_Get_location_with_pointer(), COM_Get_text_box(), COM_Graph_close(), COM_Line_width(), COM_Move_abs(), COM_Move_rel(), COM_Number_of_colors(), COM_Panel_delete(), COM_Panel_restore(), COM_Panel_save(), COM_Polydots_abs(), COM_Polydots_rel(), COM_Polygon_abs(), COM_Polygon_rel(), COM_Polyline_abs(), COM_Polyline_rel(), COM_Respond(), COM_scaled_raster(), COM_Screen_bot(), COM_Screen_left(), COM_Screen_rite(), COM_Screen_top(), COM_Set_window(), COM_Standard_color(), COM_Text(), COM_Text_rotation(), COM_Text_size(), create_pad(), delete_item(), delete_pad(), find_item(), find_pad(), G_warning(), invent_pad(), _pad_::items, l, _item_::list, _item_::name, _pad_::name, render::name, _list::next, _item_::next, _pad_::next, NO_MEMORY, NULL, OK, pad_list(), r, REC, RECTEXT, SEND, SENDTEXT, transport::text, transport::text_size, _list::value, and y.
Referenced by LIB_main().