Attrl data type
Attrl is a structure which is defined in pbs_ifl.h as:
struct attrl { struct attrl *next; char *name; char *resource; char *value; enum batch_op op; /* not used */ };
Python Usage
If a function requires this data type then use the following code:
# Values depend in which context we use it, eg for pbs_statnode() # attrl = pbs.new_attrl(2) attrl[0].name = 'state' attrl[1].name = 'np'
Note: That the next pointer definition is not used in the Python code. The module will automatically convert a C linked list to a Python list a vice versa
Last modified 17 years ago
Last modified on 09/08/06 09:44:28