GRASS Programmer's Manual  6.4.2(2012)
com_pad.c
Go to the documentation of this file.
00001 #include <string.h>
00002 #include <stdlib.h>
00003 #include <stdio.h>
00004 
00005 #include <grass/gis.h>
00006 #include <grass/raster.h>
00007 #include <grass/graphics.h>
00008 #include "transport.h"
00009 
00010 /* PAD FUNCTIONS
00011    The monitor has a very simple database management capability
00012    which supports the windowing.  There are scratch pads
00013    to be written on. Each scratch pad can contain items,  and
00014    each  item can have a list of values.  These are NOT to be
00015    used by the programmer.  They are used indirectly  through
00016    the displaylib library calls.
00017  */
00018 
00019 int R_pad_create(const char *pad)
00020 {
00021     return trans->pad_create(pad);
00022 }
00023 
00024 int R_pad_current(char *name)
00025 {
00026     return trans->pad_current(name);
00027 }
00028 
00029 int R_pad_delete(void)
00030 {
00031     return trans->pad_delete();
00032 }
00033 
00034 int R_pad_invent(char *pad)
00035 {
00036     return trans->pad_invent(pad);
00037 }
00038 
00039 int R_pad_list(char ***list, int *count)
00040 {
00041     return trans->pad_list(list, count);
00042 }
00043 
00044 int R_pad_select(const char *pad)
00045 {
00046     return trans->pad_select(pad);
00047 }
00048 
00049 int R_pad_append_item(const char *item, const char *value, int replace)
00050 {
00051     return trans->pad_append_item(item, value, replace);
00052 }
00053 
00054 int R_pad_delete_item(const char *name)
00055 {
00056     return trans->pad_delete_item(name);
00057 }
00058 
00059 int R_pad_get_item(const char *name, char ***list, int *count)
00060 {
00061     return trans->pad_get_item(name, list, count);
00062 }
00063 
00064 int R_pad_list_items(char ***list, int *count)
00065 {
00066     return trans->pad_list_items(list, count);
00067 }
00068 
00069 int R_pad_set_item(const char *name, const char *value)
00070 {
00071     return trans->pad_set_item(name, value);
00072 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines