~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to lib/raster/com_pad.c

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <string.h>
2
 
#include <stdlib.h>
3
 
#include <stdio.h>
4
 
 
5
 
#include <grass/gis.h>
6
 
#include <grass/raster.h>
7
 
#include <grass/graphics.h>
8
 
#include "transport.h"
9
 
 
10
 
/* PAD FUNCTIONS
11
 
   The monitor has a very simple database management capability
12
 
   which supports the windowing.  There are scratch pads
13
 
   to be written on. Each scratch pad can contain items,  and
14
 
   each  item can have a list of values.  These are NOT to be
15
 
   used by the programmer.  They are used indirectly  through
16
 
   the displaylib library calls.
17
 
 */
18
 
 
19
 
int R_pad_create(const char *pad)
20
 
{
21
 
    return trans->pad_create(pad);
22
 
}
23
 
 
24
 
int R_pad_current(char *name)
25
 
{
26
 
    return trans->pad_current(name);
27
 
}
28
 
 
29
 
int R_pad_delete(void)
30
 
{
31
 
    return trans->pad_delete();
32
 
}
33
 
 
34
 
int R_pad_invent(char *pad)
35
 
{
36
 
    return trans->pad_invent(pad);
37
 
}
38
 
 
39
 
int R_pad_list(char ***list, int *count)
40
 
{
41
 
    return trans->pad_list(list, count);
42
 
}
43
 
 
44
 
int R_pad_select(const char *pad)
45
 
{
46
 
    return trans->pad_select(pad);
47
 
}
48
 
 
49
 
int R_pad_append_item(const char *item, const char *value, int replace)
50
 
{
51
 
    return trans->pad_append_item(item, value, replace);
52
 
}
53
 
 
54
 
int R_pad_delete_item(const char *name)
55
 
{
56
 
    return trans->pad_delete_item(name);
57
 
}
58
 
 
59
 
int R_pad_get_item(const char *name, char ***list, int *count)
60
 
{
61
 
    return trans->pad_get_item(name, list, count);
62
 
}
63
 
 
64
 
int R_pad_list_items(char ***list, int *count)
65
 
{
66
 
    return trans->pad_list_items(list, count);
67
 
}
68
 
 
69
 
int R_pad_set_item(const char *name, const char *value)
70
 
{
71
 
    return trans->pad_set_item(name, value);
72
 
}