Changeset 208 for trunk


Ignore:
Timestamp:
01/15/10 14:50:17 (14 years ago)
Author:
bas
Message:

new generated pbs_wrap.c and pbs.py fixes an error in pbs_runjob()

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHANGES

    r205 r208  
     1=========== 3.6.0
     2  * pbs, new generated pbs_wrap.c, pbs.py fixes a bug in pbs_runjob()
     3    Reported by: Dennis Stam
     4    Fixed by: Bas van der Vlies
     5
    16=========== 3.5.0
    27  * PBSQuery
  • trunk/debian/changelog

    r205 r208  
     1pbs-python (3.6.0-1) lenny; urgency=low
     2
     3  * New generated files pbs_wrap.c and pbs.py fixes an error in pbs_runjob()
     4
     5 -- root <root@gb-r31vn6.irc.sara.nl.irc.sara.nl>  Fri, 15 Jan 2010 04:40:35 +0100
     6
    17pbs-python (3.5.0-1) lenny; urgency=low
    28
     
    511        structure.
    612
    7         Changed the behaviour of the new data stucture, We can use it as
    8         dictionary and as class attribute, this is equivalent, eg:
    9           - print node['np'] and print node.np
    10 
    11         for a node we parse the 'status' line and split on '=' char, You now can
    12         use these statements, eg
    13           - print node.status.arch     (node['status'].arch or node['status']['arch'])
    14           - print node.status.nsession
    15 
    16         for a job we parse the 'Variable_List' line and split on '=' char, You now can
    17         use the statements, eg:
    18           - print job.Variable_List.PBS_O_WORKDIR
    19           - print job.Variable_List.PBS_O_HOME
    20 
    21         For more info see examples/new_interface.py
     13    Changed the behaviour of the new data stucture, We can use it as
     14    dictionary and as class attribute, this is equivalent, eg:
     15      - print node['np'] and print node.np
     16
     17    for a node we parse the 'status' line and split on '=' char, You now can
     18    use these statements, eg
     19     - print node.status.arch     (node['status'].arch or node['status']['arch'])
     20     - print node.status.nsession
     21
     22    for a job we parse the 'Variable_List' line and split on '=' char, You now can
     23    use the statements, eg:
     24     - print job.Variable_List.PBS_O_WORKDIR
     25     - print job.Variable_List.PBS_O_HOME
     26
     27    for more info see examples/new_interface.py
    2228
    2329    Author: Bas van der Vlies
    2430
    25  * new_rack_pbsmon.py
    26         Rewrite to new data structure and automatically determine how many nodes
    27         and racks cluster has and skip printing of empty racks (default), use -w/--wide
    28         for old behaviour.
    29        
    30    Author: Bas van der Vlies
    31 
    32  -- Bas van der Vlies <bas@rc.sara.nl>  Mon, 12 Nov 2009 15:03:16 +0200
     31  * new_rack_pbsmon.py
     32    Rewrite to new data structure and automatically determine how many nodes
     33    and racks cluster has and skip printing of empty racks (default), use -w/--wide
     34    for old behaviour.
     35
     36    Author: Bas van der Vlies
     37
     38 -- Bas van der Vlies <bas@sara.nl>  Mon, 12 Nov 2009 15:03:16 +0200
    3339
    3440pbs-python (3.2.0-1) intrepid; urgency=low
    3541
    3642  *  PBSQuery:
    37         New data structure. In the old structure it is a dictionary
    38         with a value and the value is a string. This is changed that
    39         dictionary values are now of type list or dictionary depends
    40         on the value of keyword, eg for a node:
    41           - np = 2:
    42                 - node['np'] = [ '2' ]
    43           - properties = cores2, mem4gb, parallel
    44                 - node['properties'] = [ 'cores2', 'mem4gb', 'parallel' ]
    45           - status = arch=x86_64,sessions=22599,,size=70627864kb, ...
    46                 - node['status']['arch'] = [ 'x86_64' ]
    47                 - node['status']['sessions'] = [ '222599' ]
    48                 - ...
     43    New data structure. In the old structure it is a dictionary
     44    with a value and the value is a string. This is changed that
     45    dictionary values are now of type list or dictionary depends
     46    on the value of keyword, eg for a node:
     47       - np = 2:
     48       - node['np'] = [ '2' ]
     49       - properties = cores2, mem4gb, parallel
     50       - node['properties'] = [ 'cores2', 'mem4gb', 'parallel' ]
     51       - status = arch=x86_64,sessions=22599,,size=70627864kb, ...
     52       - node['status']['arch'] = [ 'x86_64' ]
     53       - node['status']['sessions'] = [ '222599' ]
     54       - ...
    4955
    5056         The data structure is activated by the function:
     
    5359         In a future release it will be come the default.
    5460         example:
    55                 p = PBSQuery()
    56                 p.new_data_structure()
    57 
    58                 nodes = p.getnodes()
    59                 print nodes.np, nodes['np']
     61         p = PBSQuery()
     62         p.new_data_structure()
     63
     64        nodes = p.getnodes()
     65        print nodes.np, nodes['np']
    6066
    6167         Author: Bas van der Vlies
     
    6369  *  PBSQuery:
    6470        For old and new data structure we now can use another syntax:
    65         - node['np'] and node.np are equivalent
     71    - node['np'] and node.np are equivalent
    6672
    6773        This new syntax works for all keywords.
     
    7076  *  PBSQuery:
    7177        Added iter object for job, node, queue and server objects, eg:
    72                 node = p.getnode('gb-r1n1')
    73                 print node.name
    74                 for attrib in node:
    75                         print '%\t%s = %s' %(attrib, node[attrib])
     78        node = p.getnode('gb-r1n1')
     79        print node.name
     80        for attrib in node:
     81           print '%\t%s = %s' %(attrib, node[attrib])
    7682        Author: Bas van der Vlies
    7783
  • trunk/src/pbs.py

    r205 r208  
    1 # This file was created automatically by SWIG 1.3.29.
     1# This file was automatically generated by SWIG (http://www.swig.org).
     2# Version 1.3.36
     3#
    24# Don't modify this file, modify the SWIG interface instead.
    35# This file is compatible with both classic and new-style classes.
     
    68import new
    79new_instancemethod = new.instancemethod
     10try:
     11    _swig_property = property
     12except NameError:
     13    pass # Python < 2.2 doesn't have 'property'.
    814def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    915    if (name == "thisown"): return self.this.own(value)
     
    268274    __swig_getmethods__ = {}
    269275    __getattr__ = lambda self, name: _swig_getattr(self, attrl, name)
    270     def __init__(self): raise AttributeError, "No constructor defined"
     276    def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined"
    271277    __repr__ = _swig_repr
    272278    __swig_setmethods__["name"] = _pbs.attrl_name_set
    273279    __swig_getmethods__["name"] = _pbs.attrl_name_get
    274     if _newclass:name = property(_pbs.attrl_name_get, _pbs.attrl_name_set)
     280    if _newclass:name = _swig_property(_pbs.attrl_name_get, _pbs.attrl_name_set)
    275281    __swig_setmethods__["resource"] = _pbs.attrl_resource_set
    276282    __swig_getmethods__["resource"] = _pbs.attrl_resource_get
    277     if _newclass:resource = property(_pbs.attrl_resource_get, _pbs.attrl_resource_set)
     283    if _newclass:resource = _swig_property(_pbs.attrl_resource_get, _pbs.attrl_resource_set)
    278284    __swig_setmethods__["value"] = _pbs.attrl_value_set
    279285    __swig_getmethods__["value"] = _pbs.attrl_value_get
    280     if _newclass:value = property(_pbs.attrl_value_get, _pbs.attrl_value_set)
     286    if _newclass:value = _swig_property(_pbs.attrl_value_get, _pbs.attrl_value_set)
    281287    __swig_setmethods__["op"] = _pbs.attrl_op_set
    282288    __swig_getmethods__["op"] = _pbs.attrl_op_get
    283     if _newclass:op = property(_pbs.attrl_op_get, _pbs.attrl_op_set)
     289    if _newclass:op = _swig_property(_pbs.attrl_op_get, _pbs.attrl_op_set)
    284290    def __str__(*args): return _pbs.attrl___str__(*args)
    285291    __swig_destroy__ = _pbs.delete_attrl
     
    293299    __swig_getmethods__ = {}
    294300    __getattr__ = lambda self, name: _swig_getattr(self, attropl, name)
    295     def __init__(self): raise AttributeError, "No constructor defined"
     301    def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined"
    296302    __repr__ = _swig_repr
    297303    __swig_setmethods__["name"] = _pbs.attropl_name_set
    298304    __swig_getmethods__["name"] = _pbs.attropl_name_get
    299     if _newclass:name = property(_pbs.attropl_name_get, _pbs.attropl_name_set)
     305    if _newclass:name = _swig_property(_pbs.attropl_name_get, _pbs.attropl_name_set)
    300306    __swig_setmethods__["resource"] = _pbs.attropl_resource_set
    301307    __swig_getmethods__["resource"] = _pbs.attropl_resource_get
    302     if _newclass:resource = property(_pbs.attropl_resource_get, _pbs.attropl_resource_set)
     308    if _newclass:resource = _swig_property(_pbs.attropl_resource_get, _pbs.attropl_resource_set)
    303309    __swig_setmethods__["value"] = _pbs.attropl_value_set
    304310    __swig_getmethods__["value"] = _pbs.attropl_value_get
    305     if _newclass:value = property(_pbs.attropl_value_get, _pbs.attropl_value_set)
     311    if _newclass:value = _swig_property(_pbs.attropl_value_get, _pbs.attropl_value_set)
    306312    __swig_setmethods__["op"] = _pbs.attropl_op_set
    307313    __swig_getmethods__["op"] = _pbs.attropl_op_get
    308     if _newclass:op = property(_pbs.attropl_op_get, _pbs.attropl_op_set)
     314    if _newclass:op = _swig_property(_pbs.attropl_op_get, _pbs.attropl_op_set)
    309315    def __str__(*args): return _pbs.attropl___str__(*args)
    310316    __swig_destroy__ = _pbs.delete_attropl
     
    318324    __swig_getmethods__ = {}
    319325    __getattr__ = lambda self, name: _swig_getattr(self, batch_status, name)
    320     def __init__(self): raise AttributeError, "No constructor defined"
     326    def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined"
    321327    __repr__ = _swig_repr
    322328    __swig_setmethods__["name"] = _pbs.batch_status_name_set
    323329    __swig_getmethods__["name"] = _pbs.batch_status_name_get
    324     if _newclass:name = property(_pbs.batch_status_name_get, _pbs.batch_status_name_set)
     330    if _newclass:name = _swig_property(_pbs.batch_status_name_get, _pbs.batch_status_name_set)
    325331    __swig_setmethods__["attribs"] = _pbs.batch_status_attribs_set
    326332    __swig_getmethods__["attribs"] = _pbs.batch_status_attribs_get
    327     if _newclass:attribs = property(_pbs.batch_status_attribs_get, _pbs.batch_status_attribs_set)
     333    if _newclass:attribs = _swig_property(_pbs.batch_status_attribs_get, _pbs.batch_status_attribs_set)
    328334    __swig_setmethods__["text"] = _pbs.batch_status_text_set
    329335    __swig_getmethods__["text"] = _pbs.batch_status_text_get
    330     if _newclass:text = property(_pbs.batch_status_text_get, _pbs.batch_status_text_set)
     336    if _newclass:text = _swig_property(_pbs.batch_status_text_get, _pbs.batch_status_text_set)
    331337batch_status_swigregister = _pbs.batch_status_swigregister
    332338batch_status_swigregister(batch_status)
     
    534540  Returns the pbs python interface version as a string.
    535541  """
    536   return '3.5.0'
     542  return '3.6.0'
    537543
    538544# A useful dict with error codes to text
  • trunk/src/pbs_wrap.c

    r179 r208  
    11/* ----------------------------------------------------------------------------
    22 * This file was automatically generated by SWIG (http://www.swig.org).
    3  * Version 1.3.29
     3 * Version 1.3.36
    44 *
    55 * This file is not intended to be easily readable and contains a number of
     
    1818/* template workaround for compilers that cannot correctly implement the C++ standard */
    1919#ifndef SWIGTEMPLATEDISAMBIGUATOR
    20 # if defined(__SUNPRO_CC)
    21  if (__SUNPRO_CC <= 0x560)
    22 #     define SWIGTEMPLATEDISAMBIGUATOR template
    23 #   else
    24 #     define SWIGTEMPLATEDISAMBIGUATOR
    25  endif
     20# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
     21define SWIGTEMPLATEDISAMBIGUATOR template
     22# elif defined(__HP_aCC)
     23/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
     24/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
     25define SWIGTEMPLATEDISAMBIGUATOR template
    2626# else
    27  define SWIGTEMPLATEDISAMBIGUATOR
     27define SWIGTEMPLATEDISAMBIGUATOR
    2828# endif
    2929#endif
     
    5151#   define SWIGUNUSED
    5252# endif
     53#endif
     54
     55#ifndef SWIG_MSC_UNSUPPRESS_4505
     56# if defined(_MSC_VER)
     57#   pragma warning(disable : 4505) /* unreferenced local function has been removed */
     58# endif
    5359#endif
    5460
     
    104110
    105111/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
    106 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
     112#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
    107113# define _CRT_SECURE_NO_DEPRECATE
    108114#endif
     115
     116/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
     117#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
     118# define _SCL_SECURE_NO_DEPRECATE
     119#endif
     120
    109121
    110122
     
    121133/* This should only be incremented when either the layout of swig_type_info changes,
    122134   or for whatever reason, the runtime changes incompatibly */
    123 #define SWIG_RUNTIME_VERSION "2"
     135#define SWIG_RUNTIME_VERSION "4"
    124136
    125137/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
     
    156168/* Flags for pointer conversions */
    157169#define SWIG_POINTER_DISOWN        0x1
     170#define SWIG_CAST_NEW_MEMORY       0x2
    158171
    159172/* Flags for new pointer objects */
     
    296309#endif
    297310
    298 typedef void *(*swig_converter_func)(void *);
     311typedef void *(*swig_converter_func)(void *, int *);
    299312typedef struct swig_type_info *(*swig_dycast_func)(void **);
    300313
    301 /* Structure to store inforomation on one type */
     314/* Structure to store information on one type */
    302315typedef struct swig_type_info {
    303316  const char             *name;                 /* mangled name of this type */
     
    344357    if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
    345358  }
    346   return (l1 - f1) - (l2 - f2);
     359  return (int)((l1 - f1) - (l2 - f2));
    347360}
    348361
     
    426439*/
    427440SWIGRUNTIMEINLINE void *
    428 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
    429   return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
     441SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
     442  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
    430443}
    431444
     
    698711
    699712
    700 /* Python.h has to appear first */
    701 #include <Python.h>
    702713
    703714/* Add PyOS_snprintf for old Pythons */
     
    780791#endif
    781792
     793/* Py_ssize_t for old Pythons */
     794/* This code is as recommended by: */
     795/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
     796#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
     797typedef int Py_ssize_t;
     798# define PY_SSIZE_T_MAX INT_MAX
     799# define PY_SSIZE_T_MIN INT_MIN
     800#endif
    782801
    783802/* -----------------------------------------------------------------------------
     
    845864    Py_DECREF(value);
    846865  } else {
    847     PyErr_Format(PyExc_RuntimeError, mesg);
     866    PyErr_SetString(PyExc_RuntimeError, mesg);
    848867  }
    849868}
     
    10851104
    10861105SWIGINTERN int
    1087 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
     1106SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
    10881107{
    10891108  if (!args) {
     
    10921111    } else {
    10931112      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
    1094                    name, (min == max ? "" : "at least "), min);
     1113                   name, (min == max ? "" : "at least "), (int)min);
    10951114      return 0;
    10961115    }
     
    11001119    return 0;
    11011120  } else {
    1102     register int l = PyTuple_GET_SIZE(args);
     1121    register Py_ssize_t l = PyTuple_GET_SIZE(args);
    11031122    if (l < min) {
    11041123      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
    1105                    name, (min == max ? "" : "at least "), min, l);
     1124                   name, (min == max ? "" : "at least "), (int)min, (int)l);
    11061125      return 0;
    11071126    } else if (l > max) {
    11081127      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
    1109                    name, (min == max ? "" : "at most "), max, l);
     1128                   name, (min == max ? "" : "at most "), (int)max, (int)l);
    11101129      return 0;
    11111130    } else {
     
    11731192_SWIG_Py_None(void)
    11741193{
    1175   PyObject *none = Py_BuildValue("");
     1194  PyObject *none = Py_BuildValue((char*)"");
    11761195  Py_DECREF(none);
    11771196  return none;
     
    14051424  PySwigObject *sobj = (PySwigObject *) v;
    14061425  PyObject *next = sobj->next;
    1407   if (sobj->own) {
     1426  if (sobj->own == SWIG_POINTER_OWN) {
    14081427    swig_type_info *ty = sobj->ty;
    14091428    PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
     
    14231442      }
    14241443      Py_XDECREF(res);
    1425     } else {
     1444    }
     1445#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
     1446    else {
    14261447      const char *name = SWIG_TypePrettyName(ty);
    1427 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
    1428       printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
    1429 #endif
    1430     }
     1448      printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
     1449    }
     1450#endif
    14311451  }
    14321452  Py_XDECREF(next);
     
    15861606    (unaryfunc)PySwigObject_oct,  /*nb_oct*/
    15871607    (unaryfunc)PySwigObject_hex,  /*nb_hex*/
    1588 #if PY_VERSION_HEX >= 0x02020000
    1589     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
    1590 #elif PY_VERSION_HEX >= 0x02000000
     1608#if PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
     1609    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
     1610#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
     1611    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
     1612#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */
    15911613    0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
    15921614#endif
     
    19311953SWIGRUNTIME int
    19321954SWIG_Python_AcquirePtr(PyObject *obj, int own) {
    1933   if (own) {
     1955  if (own == SWIG_POINTER_OWN) {
    19341956    PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
    19351957    if (sobj) {
     
    19521974  } else {
    19531975    PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
     1976    if (own)
     1977      *own = 0;
    19541978    while (sobj) {
    19551979      void *vptr = sobj->ptr;
     
    19651989            sobj = (PySwigObject *)sobj->next;
    19661990          } else {
    1967             if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
     1991            if (ptr) {
     1992              int newmemory = 0;
     1993              *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
     1994              if (newmemory == SWIG_CAST_NEW_MEMORY) {
     1995                assert(own);
     1996                if (own)
     1997                  *own = *own | SWIG_CAST_NEW_MEMORY;
     1998              }
     1999            }
    19682000            break;
    19692001          }
     
    19752007    }
    19762008    if (sobj) {
    1977       if (own) *own = sobj->own;
     2009      if (own)
     2010        *own = *own | sobj->own;
    19782011      if (flags & SWIG_POINTER_DISOWN) {
    19792012        sobj->own = 0;
     
    20322065   
    20332066    /* here we get the method pointer for callbacks */
    2034     char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
     2067    const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
    20352068    const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
    20362069    if (desc) {
     
    20402073    if (ty) {
    20412074      swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
    2042       if (!tc) return SWIG_ERROR;
    2043       *ptr = SWIG_TypeCast(tc,vptr);
     2075      if (tc) {
     2076        int newmemory = 0;
     2077        *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
     2078        assert(!newmemory); /* newmemory handling not yet implemented */
     2079      } else {
     2080        return SWIG_ERROR;
     2081      }
    20442082    } else {
    20452083      *ptr = vptr;
     
    21532191 }
    21542192#endif
    2155  dict = PyObject_GetAttrString(inst, "__dict__");
     2193 dict = PyObject_GetAttrString(inst, (char*)"__dict__");
    21562194 PyDict_SetItem(dict, SWIG_This(), swig_this);
    21572195 Py_DECREF(dict);
     
    22942332/* The python cached type query */
    22952333SWIGRUNTIME PyObject *
    2296 SWIG_Python_TypeCache() {
     2334SWIG_Python_TypeCache(void) {
    22972335  static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
    22982336  return cache;
     
    24592497#if (PY_VERSION_HEX <= 0x02000000)
    24602498# if !defined(SWIG_PYTHON_CLASSIC)
    2461 #  error "This python version requires to use swig with the '-classic' option"
     2499#  error "This python version requires swig to be run with the '-classic' option"
    24622500# endif
    24632501#endif
     
    24702508#define SWIG_name    "_pbs"
    24712509
    2472 #define SWIGVERSION 0x010329
     2510#define SWIGVERSION 0x010336
     2511#define SWIG_VERSION SWIGVERSION
    24732512
    24742513
     
    26052644
    26062645#include <limits.h>
    2607 #ifndef LLONG_MIN
    2608 # define LLONG_MIN      LONG_LONG_MIN
    2609 #endif
    2610 #ifndef LLONG_MAX
    2611 # define LLONG_MAX      LONG_LONG_MAX
    2612 #endif
    2613 #ifndef ULLONG_MAX
    2614 # define ULLONG_MAX     ULONG_LONG_MAX
     2646#if !defined(SWIG_NO_LLONG_MAX)
     2647# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
     2648#   define LLONG_MAX __LONG_LONG_MAX__
     2649#   define LLONG_MIN (-LLONG_MAX - 1LL)
     2650#   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
     2651# endif
    26152652#endif
    26162653
     
    27622799
    27632800SWIGINTERN swig_type_info*
    2764 SWIG_pchar_descriptor()
     2801SWIG_pchar_descriptor(void)
    27652802{
    27662803  static int init = 0;
     
    28022839{
    28032840  if (PyString_Check(obj)) {
    2804     char *cstr; int len;
     2841    char *cstr; Py_ssize_t len;
    28052842    PyString_AsStringAndSize(obj, &cstr, &len);
    28062843    if (cptr)  {
     
    29723009  PyObject *resultobj = 0;
    29733010  int arg1 ;
    2974   struct attrl *result = 0 ;
    29753011  int val1 ;
    29763012  int ecode1 = 0 ;
    29773013  PyObject * obj0 = 0 ;
     3014  struct attrl *result = 0 ;
    29783015 
    29793016  if (!PyArg_ParseTuple(args,(char *)"O:new_attrl",&obj0)) SWIG_fail;
     
    30193056  PyObject *resultobj = 0;
    30203057  int arg1 ;
    3021   struct attropl *result = 0 ;
    30223058  int val1 ;
    30233059  int ecode1 = 0 ;
    30243060  PyObject * obj0 = 0 ;
     3061  struct attropl *result = 0 ;
    30253062 
    30263063  if (!PyArg_ParseTuple(args,(char *)"O:new_attropl",&obj0)) SWIG_fail;
     
    31423179    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attrl_name_set" "', argument " "2"" of type '" "char *""'");
    31433180  }
    3144   arg2 = buf2;
     3181  arg2 = (char *)(buf2);
    31453182  if (arg1->name) free((char*)arg1->name);
    31463183  if (arg2) {
    3147     size_t size = strlen(arg2) + 1;
    3148     arg1->name = (char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
     3184    size_t size = strlen((const char *)(arg2)) + 1;
     3185    arg1->name = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
    31493186  } else {
    31503187    arg1->name = 0;
     
    31623199  PyObject *resultobj = 0;
    31633200  struct attrl *arg1 = (struct attrl *) 0 ;
    3164   char *result = 0 ;
    31653201  void *argp1 = 0 ;
    31663202  int res1 = 0 ;
    31673203  PyObject * obj0 = 0 ;
     3204  char *result = 0 ;
    31683205 
    31693206  if (!PyArg_ParseTuple(args,(char *)"O:attrl_name_get",&obj0)) SWIG_fail;
     
    31743211  arg1 = (struct attrl *)(argp1);
    31753212  result = (char *) ((arg1)->name);
    3176   resultobj = SWIG_FromCharPtr(result);
     3213  resultobj = SWIG_FromCharPtr((const char *)result);
    31773214  return resultobj;
    31783215fail:
     
    32033240    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attrl_resource_set" "', argument " "2"" of type '" "char *""'");
    32043241  }
    3205   arg2 = buf2;
     3242  arg2 = (char *)(buf2);
    32063243  if (arg1->resource) free((char*)arg1->resource);
    32073244  if (arg2) {
    3208     size_t size = strlen(arg2) + 1;
    3209     arg1->resource = (char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
     3245    size_t size = strlen((const char *)(arg2)) + 1;
     3246    arg1->resource = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
    32103247  } else {
    32113248    arg1->resource = 0;
     
    32233260  PyObject *resultobj = 0;
    32243261  struct attrl *arg1 = (struct attrl *) 0 ;
    3225   char *result = 0 ;
    32263262  void *argp1 = 0 ;
    32273263  int res1 = 0 ;
    32283264  PyObject * obj0 = 0 ;
     3265  char *result = 0 ;
    32293266 
    32303267  if (!PyArg_ParseTuple(args,(char *)"O:attrl_resource_get",&obj0)) SWIG_fail;
     
    32353272  arg1 = (struct attrl *)(argp1);
    32363273  result = (char *) ((arg1)->resource);
    3237   resultobj = SWIG_FromCharPtr(result);
     3274  resultobj = SWIG_FromCharPtr((const char *)result);
    32383275  return resultobj;
    32393276fail:
     
    32643301    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attrl_value_set" "', argument " "2"" of type '" "char *""'");
    32653302  }
    3266   arg2 = buf2;
     3303  arg2 = (char *)(buf2);
    32673304  if (arg1->value) free((char*)arg1->value);
    32683305  if (arg2) {
    3269     size_t size = strlen(arg2) + 1;
    3270     arg1->value = (char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
     3306    size_t size = strlen((const char *)(arg2)) + 1;
     3307    arg1->value = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
    32713308  } else {
    32723309    arg1->value = 0;
     
    32843321  PyObject *resultobj = 0;
    32853322  struct attrl *arg1 = (struct attrl *) 0 ;
    3286   char *result = 0 ;
    32873323  void *argp1 = 0 ;
    32883324  int res1 = 0 ;
    32893325  PyObject * obj0 = 0 ;
     3326  char *result = 0 ;
    32903327 
    32913328  if (!PyArg_ParseTuple(args,(char *)"O:attrl_value_get",&obj0)) SWIG_fail;
     
    32963333  arg1 = (struct attrl *)(argp1);
    32973334  result = (char *) ((arg1)->value);
    3298   resultobj = SWIG_FromCharPtr(result);
     3335  resultobj = SWIG_FromCharPtr((const char *)result);
    32993336  return resultobj;
    33003337fail:
     
    33263363  arg2 = (enum batch_op)(val2);
    33273364  if (arg1) (arg1)->op = arg2;
    3328  
    33293365  resultobj = SWIG_Py_Void();
    33303366  return resultobj;
     
    33373373  PyObject *resultobj = 0;
    33383374  struct attrl *arg1 = (struct attrl *) 0 ;
    3339   enum batch_op result;
    33403375  void *argp1 = 0 ;
    33413376  int res1 = 0 ;
    33423377  PyObject * obj0 = 0 ;
     3378  enum batch_op result;
    33433379 
    33443380  if (!PyArg_ParseTuple(args,(char *)"O:attrl_op_get",&obj0)) SWIG_fail;
     
    33593395  PyObject *resultobj = 0;
    33603396  struct attrl *arg1 = (struct attrl *) 0 ;
    3361   char *result = 0 ;
    33623397  void *argp1 = 0 ;
    33633398  int res1 = 0 ;
    33643399  PyObject * obj0 = 0 ;
     3400  char *result = 0 ;
    33653401 
    33663402  if (!PyArg_ParseTuple(args,(char *)"O:attrl___str__",&obj0)) SWIG_fail;
     
    33713407  arg1 = (struct attrl *)(argp1);
    33723408  result = (char *)attrl___str__(arg1);
    3373   resultobj = SWIG_FromCharPtr(result);
     3409  resultobj = SWIG_FromCharPtr((const char *)result);
    33743410  return resultobj;
    33753411fail:
     
    33923428  arg1 = (struct attrl *)(argp1);
    33933429  delete_attrl(arg1);
    3394  
    33953430  resultobj = SWIG_Py_Void();
    33963431  return resultobj;
     
    34023437SWIGINTERN PyObject *attrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    34033438  PyObject *obj;
    3404   if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
     3439  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
    34053440  SWIG_TypeNewClientData(SWIGTYPE_p_attrl, SWIG_NewClientData(obj));
    34063441  return SWIG_Py_Void();
     
    34293464    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attropl_name_set" "', argument " "2"" of type '" "char *""'");
    34303465  }
    3431   arg2 = buf2;
     3466  arg2 = (char *)(buf2);
    34323467  if (arg1->name) free((char*)arg1->name);
    34333468  if (arg2) {
    3434     size_t size = strlen(arg2) + 1;
    3435     arg1->name = (char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
     3469    size_t size = strlen((const char *)(arg2)) + 1;
     3470    arg1->name = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
    34363471  } else {
    34373472    arg1->name = 0;
     
    34493484  PyObject *resultobj = 0;
    34503485  struct attropl *arg1 = (struct attropl *) 0 ;
    3451   char *result = 0 ;
    34523486  void *argp1 = 0 ;
    34533487  int res1 = 0 ;
    34543488  PyObject * obj0 = 0 ;
     3489  char *result = 0 ;
    34553490 
    34563491  if (!PyArg_ParseTuple(args,(char *)"O:attropl_name_get",&obj0)) SWIG_fail;
     
    34613496  arg1 = (struct attropl *)(argp1);
    34623497  result = (char *) ((arg1)->name);
    3463   resultobj = SWIG_FromCharPtr(result);
     3498  resultobj = SWIG_FromCharPtr((const char *)result);
    34643499  return resultobj;
    34653500fail:
     
    34903525    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attropl_resource_set" "', argument " "2"" of type '" "char *""'");
    34913526  }
    3492   arg2 = buf2;
     3527  arg2 = (char *)(buf2);
    34933528  if (arg1->resource) free((char*)arg1->resource);
    34943529  if (arg2) {
    3495     size_t size = strlen(arg2) + 1;
    3496     arg1->resource = (char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
     3530    size_t size = strlen((const char *)(arg2)) + 1;
     3531    arg1->resource = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
    34973532  } else {
    34983533    arg1->resource = 0;
     
    35103545  PyObject *resultobj = 0;
    35113546  struct attropl *arg1 = (struct attropl *) 0 ;
    3512   char *result = 0 ;
    35133547  void *argp1 = 0 ;
    35143548  int res1 = 0 ;
    35153549  PyObject * obj0 = 0 ;
     3550  char *result = 0 ;
    35163551 
    35173552  if (!PyArg_ParseTuple(args,(char *)"O:attropl_resource_get",&obj0)) SWIG_fail;
     
    35223557  arg1 = (struct attropl *)(argp1);
    35233558  result = (char *) ((arg1)->resource);
    3524   resultobj = SWIG_FromCharPtr(result);
     3559  resultobj = SWIG_FromCharPtr((const char *)result);
    35253560  return resultobj;
    35263561fail:
     
    35513586    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "attropl_value_set" "', argument " "2"" of type '" "char *""'");
    35523587  }
    3553   arg2 = buf2;
     3588  arg2 = (char *)(buf2);
    35543589  if (arg1->value) free((char*)arg1->value);
    35553590  if (arg2) {
    3556     size_t size = strlen(arg2) + 1;
    3557     arg1->value = (char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
     3591    size_t size = strlen((const char *)(arg2)) + 1;
     3592    arg1->value = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
    35583593  } else {
    35593594    arg1->value = 0;
     
    35713606  PyObject *resultobj = 0;
    35723607  struct attropl *arg1 = (struct attropl *) 0 ;
    3573   char *result = 0 ;
    35743608  void *argp1 = 0 ;
    35753609  int res1 = 0 ;
    35763610  PyObject * obj0 = 0 ;
     3611  char *result = 0 ;
    35773612 
    35783613  if (!PyArg_ParseTuple(args,(char *)"O:attropl_value_get",&obj0)) SWIG_fail;
     
    35833618  arg1 = (struct attropl *)(argp1);
    35843619  result = (char *) ((arg1)->value);
    3585   resultobj = SWIG_FromCharPtr(result);
     3620  resultobj = SWIG_FromCharPtr((const char *)result);
    35863621  return resultobj;
    35873622fail:
     
    36133648  arg2 = (enum batch_op)(val2);
    36143649  if (arg1) (arg1)->op = arg2;
    3615  
    36163650  resultobj = SWIG_Py_Void();
    36173651  return resultobj;
     
    36243658  PyObject *resultobj = 0;
    36253659  struct attropl *arg1 = (struct attropl *) 0 ;
    3626   enum batch_op result;
    36273660  void *argp1 = 0 ;
    36283661  int res1 = 0 ;
    36293662  PyObject * obj0 = 0 ;
     3663  enum batch_op result;
    36303664 
    36313665  if (!PyArg_ParseTuple(args,(char *)"O:attropl_op_get",&obj0)) SWIG_fail;
     
    36463680  PyObject *resultobj = 0;
    36473681  struct attropl *arg1 = (struct attropl *) 0 ;
    3648   char *result = 0 ;
    36493682  void *argp1 = 0 ;
    36503683  int res1 = 0 ;
    36513684  PyObject * obj0 = 0 ;
     3685  char *result = 0 ;
    36523686 
    36533687  if (!PyArg_ParseTuple(args,(char *)"O:attropl___str__",&obj0)) SWIG_fail;
     
    36583692  arg1 = (struct attropl *)(argp1);
    36593693  result = (char *)attropl___str__(arg1);
    3660   resultobj = SWIG_FromCharPtr(result);
     3694  resultobj = SWIG_FromCharPtr((const char *)result);
    36613695  return resultobj;
    36623696fail:
     
    36793713  arg1 = (struct attropl *)(argp1);
    36803714  delete_attropl(arg1);
    3681  
    36823715  resultobj = SWIG_Py_Void();
    36833716  return resultobj;
     
    36893722SWIGINTERN PyObject *attropl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    36903723  PyObject *obj;
    3691   if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
     3724  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
    36923725  SWIG_TypeNewClientData(SWIGTYPE_p_attropl, SWIG_NewClientData(obj));
    36933726  return SWIG_Py_Void();
     
    37163749    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "batch_status_name_set" "', argument " "2"" of type '" "char *""'");
    37173750  }
    3718   arg2 = buf2;
     3751  arg2 = (char *)(buf2);
    37193752  if (arg1->name) free((char*)arg1->name);
    37203753  if (arg2) {
    3721     size_t size = strlen(arg2) + 1;
    3722     arg1->name = (char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
     3754    size_t size = strlen((const char *)(arg2)) + 1;
     3755    arg1->name = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
    37233756  } else {
    37243757    arg1->name = 0;
     
    37363769  PyObject *resultobj = 0;
    37373770  struct batch_status *arg1 = (struct batch_status *) 0 ;
    3738   char *result = 0 ;
    37393771  void *argp1 = 0 ;
    37403772  int res1 = 0 ;
    37413773  PyObject * obj0 = 0 ;
     3774  char *result = 0 ;
    37423775 
    37433776  if (!PyArg_ParseTuple(args,(char *)"O:batch_status_name_get",&obj0)) SWIG_fail;
     
    37483781  arg1 = (struct batch_status *)(argp1);
    37493782  result = (char *) ((arg1)->name);
    3750   resultobj = SWIG_FromCharPtr(result);
     3783  resultobj = SWIG_FromCharPtr((const char *)result);
    37513784  return resultobj;
    37523785fail:
     
    37783811  arg2 = (struct attrl *)(argp2);
    37793812  if (arg1) (arg1)->attribs = arg2;
    3780  
    37813813  resultobj = SWIG_Py_Void();
    37823814  return resultobj;
     
    37893821  PyObject *resultobj = 0;
    37903822  struct batch_status *arg1 = (struct batch_status *) 0 ;
    3791   struct attrl *result = 0 ;
    37923823  void *argp1 = 0 ;
    37933824  int res1 = 0 ;
    37943825  PyObject * obj0 = 0 ;
     3826  struct attrl *result = 0 ;
    37953827 
    37963828  if (!PyArg_ParseTuple(args,(char *)"O:batch_status_attribs_get",&obj0)) SWIG_fail;
     
    38553887    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "batch_status_text_set" "', argument " "2"" of type '" "char *""'");
    38563888  }
    3857   arg2 = buf2;
     3889  arg2 = (char *)(buf2);
    38583890  if (arg1->text) free((char*)arg1->text);
    38593891  if (arg2) {
    3860     size_t size = strlen(arg2) + 1;
    3861     arg1->text = (char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
     3892    size_t size = strlen((const char *)(arg2)) + 1;
     3893    arg1->text = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
    38623894  } else {
    38633895    arg1->text = 0;
     
    38753907  PyObject *resultobj = 0;
    38763908  struct batch_status *arg1 = (struct batch_status *) 0 ;
    3877   char *result = 0 ;
    38783909  void *argp1 = 0 ;
    38793910  int res1 = 0 ;
    38803911  PyObject * obj0 = 0 ;
     3912  char *result = 0 ;
    38813913 
    38823914  if (!PyArg_ParseTuple(args,(char *)"O:batch_status_text_get",&obj0)) SWIG_fail;
     
    38873919  arg1 = (struct batch_status *)(argp1);
    38883920  result = (char *) ((arg1)->text);
    3889   resultobj = SWIG_FromCharPtr(result);
     3921  resultobj = SWIG_FromCharPtr((const char *)result);
    38903922  return resultobj;
    38913923fail:
     
    38963928SWIGINTERN PyObject *batch_status_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
    38973929  PyObject *obj;
    3898   if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
     3930  if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
    38993931  SWIG_TypeNewClientData(SWIGTYPE_p_batch_status, SWIG_NewClientData(obj));
    39003932  return SWIG_Py_Void();
    39013933}
    39023934
    3903 SWIGINTERN int pbs_errno_set(PyObject *_val) {
     3935SWIGINTERN int Swig_var_pbs_errno_set(PyObject *_val) {
    39043936  {
    39053937    int val;
     
    39163948
    39173949
    3918 SWIGINTERN PyObject *pbs_errno_get(void) {
     3950SWIGINTERN PyObject *Swig_var_pbs_errno_get(void) {
    39193951  PyObject *pyobj = 0;
    39203952 
     
    39243956
    39253957
    3926 SWIGINTERN int pbs_server_set(PyObject *_val) {
     3958SWIGINTERN int Swig_var_pbs_server_set(PyObject *_val) {
    39273959  {
    39283960    char *cptr = 0; size_t csize = 0; int alloc = SWIG_NEWOBJ;
     
    39353967      pbs_server = cptr;
    39363968    } else {
    3937       pbs_server = csize ? (char *)memcpy((char *)malloc((csize)*sizeof(char)), cptr, sizeof(char)*(csize)) : 0;
     3969      pbs_server = csize ? (char *)(char *)memcpy((char *)malloc((csize)*sizeof(char)), cptr, sizeof(char)*(csize)) : 0;
    39383970    }
    39393971  }
     
    39443976
    39453977
    3946 SWIGINTERN PyObject *pbs_server_get(void) {
     3978SWIGINTERN PyObject *Swig_var_pbs_server_get(void) {
    39473979  PyObject *pyobj = 0;
    39483980 
     
    39563988  int arg1 ;
    39573989  char *arg2 = (char *) 0 ;
    3958   char *result = 0 ;
    39593990  int val1 ;
    39603991  int ecode1 = 0 ;
     
    39643995  PyObject * obj0 = 0 ;
    39653996  PyObject * obj1 = 0 ;
     3997  char *result = 0 ;
    39663998 
    39673999  if (!PyArg_ParseTuple(args,(char *)"OO:avail",&obj0,&obj1)) SWIG_fail;
     
    39754007    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "avail" "', argument " "2"" of type '" "char *""'");
    39764008  }
    3977   arg2 = buf2;
     4009  arg2 = (char *)(buf2);
    39784010  result = (char *)avail(arg1,arg2);
    3979   resultobj = SWIG_FromCharPtr(result);
     4011  resultobj = SWIG_FromCharPtr((const char *)result);
    39804012  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    39814013  return resultobj;
     
    39924024  char *arg3 = (char *) 0 ;
    39934025  char *arg4 = (char *) 0 ;
    3994   int result;
    39954026  int val1 ;
    39964027  int ecode1 = 0 ;
     
    40084039  PyObject * obj2 = 0 ;
    40094040  PyObject * obj3 = 0 ;
     4041  int result;
    40104042 
    40114043  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_asyrunjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    40194051    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_asyrunjob" "', argument " "2"" of type '" "char *""'");
    40204052  }
    4021   arg2 = buf2;
     4053  arg2 = (char *)(buf2);
    40224054  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    40234055  if (!SWIG_IsOK(res3)) {
    40244056    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_asyrunjob" "', argument " "3"" of type '" "char *""'");
    40254057  }
    4026   arg3 = buf3;
     4058  arg3 = (char *)(buf3);
    40274059  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
    40284060  if (!SWIG_IsOK(res4)) {
    40294061    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_asyrunjob" "', argument " "4"" of type '" "char *""'");
    40304062  }
    4031   arg4 = buf4;
     4063  arg4 = (char *)(buf4);
    40324064  result = (int)pbs_asyrunjob(arg1,arg2,arg3,arg4);
    40334065  resultobj = SWIG_From_int((int)(result));
     
    40504082  struct attrl *arg3 = (struct attrl *) 0 ;
    40514083  char *arg4 = (char *) 0 ;
    4052   int result;
    40534084  int val1 ;
    40544085  int ecode1 = 0 ;
     
    40634094  PyObject * obj2 = 0 ;
    40644095  PyObject * obj3 = 0 ;
     4096  int result;
    40654097 
    40664098  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_alterjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    40744106    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_alterjob" "', argument " "2"" of type '" "char *""'");
    40754107  }
    4076   arg2 = buf2;
     4108  arg2 = (char *)(buf2);
    40774109  {
    40784110    PyObject    *py_obj;
     
    41294161    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_alterjob" "', argument " "4"" of type '" "char *""'");
    41304162  }
    4131   arg4 = buf4;
     4163  arg4 = (char *)(buf4);
    41324164  result = (int)pbs_alterjob(arg1,arg2,arg3,arg4);
    41334165  resultobj = SWIG_From_int((int)(result));
     
    41454177  PyObject *resultobj = 0;
    41464178  char *arg1 = (char *) 0 ;
    4147   int result;
    41484179  int res1 ;
    41494180  char *buf1 = 0 ;
    41504181  int alloc1 = 0 ;
    41514182  PyObject * obj0 = 0 ;
     4183  int result;
    41524184 
    41534185  if (!PyArg_ParseTuple(args,(char *)"O:pbs_connect",&obj0)) SWIG_fail;
     
    41564188    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pbs_connect" "', argument " "1"" of type '" "char *""'");
    41574189  }
    4158   arg1 = buf1;
     4190  arg1 = (char *)(buf1);
    41594191  result = (int)pbs_connect(arg1);
    41604192  resultobj = SWIG_From_int((int)(result));
     
    41864218  if (!PyArg_ParseTuple(args,(char *)":pbs_default")) SWIG_fail;
    41874219  result = (char *)pbs_default();
    4188   resultobj = SWIG_FromCharPtr(result);
     4220  resultobj = SWIG_FromCharPtr((const char *)result);
    41894221  return resultobj;
    41904222fail:
     
    41984230  char *arg2 = (char *) 0 ;
    41994231  char *arg3 = (char *) 0 ;
    4200   int result;
    42014232  int val1 ;
    42024233  int ecode1 = 0 ;
     
    42104241  PyObject * obj1 = 0 ;
    42114242  PyObject * obj2 = 0 ;
     4243  int result;
    42124244 
    42134245  if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_deljob",&obj0,&obj1,&obj2)) SWIG_fail;
     
    42214253    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_deljob" "', argument " "2"" of type '" "char *""'");
    42224254  }
    4223   arg2 = buf2;
     4255  arg2 = (char *)(buf2);
    42244256  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    42254257  if (!SWIG_IsOK(res3)) {
    42264258    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_deljob" "', argument " "3"" of type '" "char *""'");
    42274259  }
    4228   arg3 = buf3;
     4260  arg3 = (char *)(buf3);
    42294261  result = (int)pbs_deljob(arg1,arg2,arg3);
    42304262  resultobj = SWIG_From_int((int)(result));
     
    42424274  PyObject *resultobj = 0;
    42434275  int arg1 ;
    4244   int result;
    42454276  int val1 ;
    42464277  int ecode1 = 0 ;
    42474278  PyObject * obj0 = 0 ;
     4279  int result;
    42484280 
    42494281  if (!PyArg_ParseTuple(args,(char *)"O:pbs_disconnect",&obj0)) SWIG_fail;
     
    42674299  char *arg3 = (char *) 0 ;
    42684300  char *arg4 = (char *) 0 ;
    4269   int result;
    42704301  int val1 ;
    42714302  int ecode1 = 0 ;
     
    42834314  PyObject * obj2 = 0 ;
    42844315  PyObject * obj3 = 0 ;
     4316  int result;
    42854317 
    42864318  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_holdjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    42944326    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_holdjob" "', argument " "2"" of type '" "char *""'");
    42954327  }
    4296   arg2 = buf2;
     4328  arg2 = (char *)(buf2);
    42974329  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    42984330  if (!SWIG_IsOK(res3)) {
    42994331    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_holdjob" "', argument " "3"" of type '" "char *""'");
    43004332  }
    4301   arg3 = buf3;
     4333  arg3 = (char *)(buf3);
    43024334  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
    43034335  if (!SWIG_IsOK(res4)) {
    43044336    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_holdjob" "', argument " "4"" of type '" "char *""'");
    43054337  }
    4306   arg4 = buf4;
     4338  arg4 = (char *)(buf4);
    43074339  result = (int)pbs_holdjob(arg1,arg2,arg3,arg4);
    43084340  resultobj = SWIG_From_int((int)(result));
     
    43244356  char *arg2 = (char *) 0 ;
    43254357  char *arg3 = (char *) 0 ;
    4326   char *result = 0 ;
    43274358  int val1 ;
    43284359  int ecode1 = 0 ;
     
    43364367  PyObject * obj1 = 0 ;
    43374368  PyObject * obj2 = 0 ;
     4369  char *result = 0 ;
    43384370 
    43394371  if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_locjob",&obj0,&obj1,&obj2)) SWIG_fail;
     
    43474379    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_locjob" "', argument " "2"" of type '" "char *""'");
    43484380  }
    4349   arg2 = buf2;
     4381  arg2 = (char *)(buf2);
    43504382  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    43514383  if (!SWIG_IsOK(res3)) {
    43524384    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_locjob" "', argument " "3"" of type '" "char *""'");
    43534385  }
    4354   arg3 = buf3;
     4386  arg3 = (char *)(buf3);
    43554387  result = (char *)pbs_locjob(arg1,arg2,arg3);
    4356   resultobj = SWIG_FromCharPtr(result);
     4388  resultobj = SWIG_FromCharPtr((const char *)result);
    43574389  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    43584390  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
     
    43734405  struct attropl *arg5 = (struct attropl *) 0 ;
    43744406  char *arg6 = (char *) 0 ;
    4375   int result;
    43764407  int val1 ;
    43774408  int ecode1 = 0 ;
     
    43924423  PyObject * obj4 = 0 ;
    43934424  PyObject * obj5 = 0 ;
     4425  int result;
    43944426 
    43954427  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:pbs_manager",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
     
    44134445    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_manager" "', argument " "4"" of type '" "char *""'");
    44144446  }
    4415   arg4 = buf4;
     4447  arg4 = (char *)(buf4);
    44164448  {
    44174449    PyObject            *py_obj;
     
    44684500    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "pbs_manager" "', argument " "6"" of type '" "char *""'");
    44694501  }
    4470   arg6 = buf6;
     4502  arg6 = (char *)(buf6);
    44714503  result = (int)pbs_manager(arg1,arg2,arg3,arg4,arg5,arg6);
    44724504  resultobj = SWIG_From_int((int)(result));
     
    44874519  char *arg3 = (char *) 0 ;
    44884520  char *arg4 = (char *) 0 ;
    4489   int result;
    44904521  int val1 ;
    44914522  int ecode1 = 0 ;
     
    45034534  PyObject * obj2 = 0 ;
    45044535  PyObject * obj3 = 0 ;
     4536  int result;
    45054537 
    45064538  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_movejob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    45144546    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_movejob" "', argument " "2"" of type '" "char *""'");
    45154547  }
    4516   arg2 = buf2;
     4548  arg2 = (char *)(buf2);
    45174549  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    45184550  if (!SWIG_IsOK(res3)) {
    45194551    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_movejob" "', argument " "3"" of type '" "char *""'");
    45204552  }
    4521   arg3 = buf3;
     4553  arg3 = (char *)(buf3);
    45224554  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
    45234555  if (!SWIG_IsOK(res4)) {
    45244556    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_movejob" "', argument " "4"" of type '" "char *""'");
    45254557  }
    4526   arg4 = buf4;
     4558  arg4 = (char *)(buf4);
    45274559  result = (int)pbs_movejob(arg1,arg2,arg3,arg4);
    45284560  resultobj = SWIG_From_int((int)(result));
     
    45464578  char *arg4 = (char *) 0 ;
    45474579  char *arg5 = (char *) 0 ;
    4548   int result;
    45494580  int val1 ;
    45504581  int ecode1 = 0 ;
     
    45654596  PyObject * obj3 = 0 ;
    45664597  PyObject * obj4 = 0 ;
     4598  int result;
    45674599 
    45684600  if (!PyArg_ParseTuple(args,(char *)"OOOOO:pbs_msgjob",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
     
    45764608    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_msgjob" "', argument " "2"" of type '" "char *""'");
    45774609  }
    4578   arg2 = buf2;
     4610  arg2 = (char *)(buf2);
    45794611  ecode3 = SWIG_AsVal_int(obj2, &val3);
    45804612  if (!SWIG_IsOK(ecode3)) {
     
    45864618    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_msgjob" "', argument " "4"" of type '" "char *""'");
    45874619  }
    4588   arg4 = buf4;
     4620  arg4 = (char *)(buf4);
    45894621  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
    45904622  if (!SWIG_IsOK(res5)) {
    45914623    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "pbs_msgjob" "', argument " "5"" of type '" "char *""'");
    45924624  }
    4593   arg5 = buf5;
     4625  arg5 = (char *)(buf5);
    45944626  result = (int)pbs_msgjob(arg1,arg2,arg3,arg4,arg5);
    45954627  resultobj = SWIG_From_int((int)(result));
     
    46124644  char *arg3 = (char *) 0 ;
    46134645  char *arg4 = (char *) 0 ;
    4614   int result;
    46154646  int val1 ;
    46164647  int ecode1 = 0 ;
     
    46284659  PyObject * obj2 = 0 ;
    46294660  PyObject * obj3 = 0 ;
     4661  int result;
    46304662 
    46314663  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_orderjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    46394671    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_orderjob" "', argument " "2"" of type '" "char *""'");
    46404672  }
    4641   arg2 = buf2;
     4673  arg2 = (char *)(buf2);
    46424674  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    46434675  if (!SWIG_IsOK(res3)) {
    46444676    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_orderjob" "', argument " "3"" of type '" "char *""'");
    46454677  }
    4646   arg3 = buf3;
     4678  arg3 = (char *)(buf3);
    46474679  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
    46484680  if (!SWIG_IsOK(res4)) {
    46494681    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_orderjob" "', argument " "4"" of type '" "char *""'");
    46504682  }
    4651   arg4 = buf4;
     4683  arg4 = (char *)(buf4);
    46524684  result = (int)pbs_orderjob(arg1,arg2,arg3,arg4);
    46534685  resultobj = SWIG_From_int((int)(result));
     
    46734705  int *arg6 = (int *) 0 ;
    46744706  int *arg7 = (int *) 0 ;
    4675   int result;
    46764707  int val1 ;
    46774708  int ecode1 = 0 ;
     
    46894720  PyObject * obj1 = 0 ;
    46904721  PyObject * obj2 = 0 ;
     4722  int result;
    46914723 
    46924724  arg4 = &temp4;
     
    47834815  int arg3 ;
    47844816  int *arg4 = (int *) 0 ;
    4785   int result;
    47864817  int val1 ;
    47874818  int ecode1 = 0 ;
     
    47934824  PyObject * obj1 = 0 ;
    47944825  PyObject * obj2 = 0 ;
     4826  int result;
    47954827 
    47964828  arg4 = &temp4;
     
    48644896  int arg1 ;
    48654897  int arg2 ;
    4866   int result;
    48674898  int val1 ;
    48684899  int ecode1 = 0 ;
     
    48714902  PyObject * obj0 = 0 ;
    48724903  PyObject * obj1 = 0 ;
     4904  int result;
    48734905 
    48744906  if (!PyArg_ParseTuple(args,(char *)"OO:pbs_rescrelease",&obj0,&obj1)) SWIG_fail;
     
    48964928  char *arg2 = (char *) 0 ;
    48974929  char *arg3 = (char *) 0 ;
    4898   int result;
    48994930  int val1 ;
    49004931  int ecode1 = 0 ;
     
    49084939  PyObject * obj1 = 0 ;
    49094940  PyObject * obj2 = 0 ;
     4941  int result;
    49104942 
    49114943  if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_rerunjob",&obj0,&obj1,&obj2)) SWIG_fail;
     
    49194951    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_rerunjob" "', argument " "2"" of type '" "char *""'");
    49204952  }
    4921   arg2 = buf2;
     4953  arg2 = (char *)(buf2);
    49224954  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    49234955  if (!SWIG_IsOK(res3)) {
    49244956    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_rerunjob" "', argument " "3"" of type '" "char *""'");
    49254957  }
    4926   arg3 = buf3;
     4958  arg3 = (char *)(buf3);
    49274959  result = (int)pbs_rerunjob(arg1,arg2,arg3);
    49284960  resultobj = SWIG_From_int((int)(result));
     
    49434975  char *arg3 = (char *) 0 ;
    49444976  char *arg4 = (char *) 0 ;
    4945   int result;
    49464977  int val1 ;
    49474978  int ecode1 = 0 ;
     
    49594990  PyObject * obj2 = 0 ;
    49604991  PyObject * obj3 = 0 ;
     4992  int result;
    49614993 
    49624994  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_rlsjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    49705002    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_rlsjob" "', argument " "2"" of type '" "char *""'");
    49715003  }
    4972   arg2 = buf2;
     5004  arg2 = (char *)(buf2);
    49735005  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    49745006  if (!SWIG_IsOK(res3)) {
    49755007    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_rlsjob" "', argument " "3"" of type '" "char *""'");
    49765008  }
    4977   arg3 = buf3;
     5009  arg3 = (char *)(buf3);
    49785010  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
    49795011  if (!SWIG_IsOK(res4)) {
    49805012    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_rlsjob" "', argument " "4"" of type '" "char *""'");
    49815013  }
    4982   arg4 = buf4;
     5014  arg4 = (char *)(buf4);
    49835015  result = (int)pbs_rlsjob(arg1,arg2,arg3,arg4);
    49845016  resultobj = SWIG_From_int((int)(result));
     
    50015033  char *arg3 = (char *) 0 ;
    50025034  char *arg4 = (char *) 0 ;
    5003   int result;
    50045035  int val1 ;
    50055036  int ecode1 = 0 ;
     
    50175048  PyObject * obj2 = 0 ;
    50185049  PyObject * obj3 = 0 ;
     5050  int result;
    50195051 
    50205052  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_runjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    50285060    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_runjob" "', argument " "2"" of type '" "char *""'");
    50295061  }
    5030   arg2 = buf2;
     5062  arg2 = (char *)(buf2);
    50315063  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    50325064  if (!SWIG_IsOK(res3)) {
    50335065    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_runjob" "', argument " "3"" of type '" "char *""'");
    50345066  }
    5035   arg3 = buf3;
     5067  arg3 = (char *)(buf3);
    50365068  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
    50375069  if (!SWIG_IsOK(res4)) {
    50385070    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_runjob" "', argument " "4"" of type '" "char *""'");
    50395071  }
    5040   arg4 = buf4;
     5072  arg4 = (char *)(buf4);
    50415073  result = (int)pbs_runjob(arg1,arg2,arg3,arg4);
    50425074  resultobj = SWIG_From_int((int)(result));
     
    50585090  struct attropl *arg2 = (struct attropl *) 0 ;
    50595091  char *arg3 = (char *) 0 ;
    5060   char **result = 0 ;
    50615092  int val1 ;
    50625093  int ecode1 = 0 ;
     
    50675098  PyObject * obj1 = 0 ;
    50685099  PyObject * obj2 = 0 ;
     5100  char **result = 0 ;
    50695101 
    50705102  if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_selectjob",&obj0,&obj1,&obj2)) SWIG_fail;
     
    51285160    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_selectjob" "', argument " "3"" of type '" "char *""'");
    51295161  }
    5130   arg3 = buf3;
     5162  arg3 = (char *)(buf3);
    51315163  result = (char **)pbs_selectjob(arg1,arg2,arg3);
    51325164  {
     
    51725204  char *arg3 = (char *) 0 ;
    51735205  char *arg4 = (char *) 0 ;
    5174   int result;
    51755206  int val1 ;
    51765207  int ecode1 = 0 ;
     
    51885219  PyObject * obj2 = 0 ;
    51895220  PyObject * obj3 = 0 ;
     5221  int result;
    51905222 
    51915223  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_sigjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    51995231    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_sigjob" "', argument " "2"" of type '" "char *""'");
    52005232  }
    5201   arg2 = buf2;
     5233  arg2 = (char *)(buf2);
    52025234  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    52035235  if (!SWIG_IsOK(res3)) {
    52045236    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_sigjob" "', argument " "3"" of type '" "char *""'");
    52055237  }
    5206   arg3 = buf3;
     5238  arg3 = (char *)(buf3);
    52075239  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
    52085240  if (!SWIG_IsOK(res4)) {
    52095241    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_sigjob" "', argument " "4"" of type '" "char *""'");
    52105242  }
    5211   arg4 = buf4;
     5243  arg4 = (char *)(buf4);
    52125244  result = (int)pbs_sigjob(arg1,arg2,arg3,arg4);
    52135245  resultobj = SWIG_From_int((int)(result));
     
    52965328  struct attrl *arg3 = (struct attrl *) 0 ;
    52975329  char *arg4 = (char *) 0 ;
    5298   struct batch_status *result = 0 ;
    52995330  int val1 ;
    53005331  int ecode1 = 0 ;
     
    53095340  PyObject * obj2 = 0 ;
    53105341  PyObject * obj3 = 0 ;
     5342  struct batch_status *result = 0 ;
    53115343 
    53125344  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_statjob",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    53205352    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_statjob" "', argument " "2"" of type '" "char *""'");
    53215353  }
    5322   arg2 = buf2;
     5354  arg2 = (char *)(buf2);
    53235355  {
    53245356    PyObject    *py_obj;
     
    53755407    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_statjob" "', argument " "4"" of type '" "char *""'");
    53765408  }
    5377   arg4 = buf4;
     5409  arg4 = (char *)(buf4);
    53785410  result = (struct batch_status *)pbs_statjob(arg1,arg2,arg3,arg4);
    53795411  {
     
    54265458  struct attropl *arg2 = (struct attropl *) 0 ;
    54275459  char *arg3 = (char *) 0 ;
    5428   struct batch_status *result = 0 ;
    54295460  int val1 ;
    54305461  int ecode1 = 0 ;
     
    54355466  PyObject * obj1 = 0 ;
    54365467  PyObject * obj2 = 0 ;
     5468  struct batch_status *result = 0 ;
    54375469 
    54385470  if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_selstat",&obj0,&obj1,&obj2)) SWIG_fail;
     
    54965528    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_selstat" "', argument " "3"" of type '" "char *""'");
    54975529  }
    5498   arg3 = buf3;
     5530  arg3 = (char *)(buf3);
    54995531  result = (struct batch_status *)pbs_selstat(arg1,arg2,arg3);
    55005532  {
     
    55465578  struct attrl *arg3 = (struct attrl *) 0 ;
    55475579  char *arg4 = (char *) 0 ;
    5548   struct batch_status *result = 0 ;
    55495580  int val1 ;
    55505581  int ecode1 = 0 ;
     
    55595590  PyObject * obj2 = 0 ;
    55605591  PyObject * obj3 = 0 ;
     5592  struct batch_status *result = 0 ;
    55615593 
    55625594  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_statque",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    55705602    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_statque" "', argument " "2"" of type '" "char *""'");
    55715603  }
    5572   arg2 = buf2;
     5604  arg2 = (char *)(buf2);
    55735605  {
    55745606    PyObject    *py_obj;
     
    56255657    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_statque" "', argument " "4"" of type '" "char *""'");
    56265658  }
    5627   arg4 = buf4;
     5659  arg4 = (char *)(buf4);
    56285660  result = (struct batch_status *)pbs_statque(arg1,arg2,arg3,arg4);
    56295661  {
     
    56765708  struct attrl *arg2 = (struct attrl *) 0 ;
    56775709  char *arg3 = (char *) 0 ;
    5678   struct batch_status *result = 0 ;
    56795710  int val1 ;
    56805711  int ecode1 = 0 ;
     
    56855716  PyObject * obj1 = 0 ;
    56865717  PyObject * obj2 = 0 ;
     5718  struct batch_status *result = 0 ;
    56875719 
    56885720  if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_statserver",&obj0,&obj1,&obj2)) SWIG_fail;
     
    57465778    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_statserver" "', argument " "3"" of type '" "char *""'");
    57475779  }
    5748   arg3 = buf3;
     5780  arg3 = (char *)(buf3);
    57495781  result = (struct batch_status *)pbs_statserver(arg1,arg2,arg3);
    57505782  {
     
    57965828  struct attrl *arg3 = (struct attrl *) 0 ;
    57975829  char *arg4 = (char *) 0 ;
    5798   struct batch_status *result = 0 ;
    57995830  int val1 ;
    58005831  int ecode1 = 0 ;
     
    58095840  PyObject * obj2 = 0 ;
    58105841  PyObject * obj3 = 0 ;
     5842  struct batch_status *result = 0 ;
    58115843 
    58125844  if (!PyArg_ParseTuple(args,(char *)"OOOO:pbs_statnode",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
     
    58205852    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pbs_statnode" "', argument " "2"" of type '" "char *""'");
    58215853  }
    5822   arg2 = buf2;
     5854  arg2 = (char *)(buf2);
    58235855  {
    58245856    PyObject    *py_obj;
     
    58755907    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_statnode" "', argument " "4"" of type '" "char *""'");
    58765908  }
    5877   arg4 = buf4;
     5909  arg4 = (char *)(buf4);
    58785910  result = (struct batch_status *)pbs_statnode(arg1,arg2,arg3,arg4);
    58795911  {
     
    59285960  char *arg4 = (char *) 0 ;
    59295961  char *arg5 = (char *) 0 ;
    5930   char *result = 0 ;
    59315962  int val1 ;
    59325963  int ecode1 = 0 ;
     
    59455976  PyObject * obj3 = 0 ;
    59465977  PyObject * obj4 = 0 ;
     5978  char *result = 0 ;
    59475979 
    59485980  if (!PyArg_ParseTuple(args,(char *)"OOOOO:pbs_submit",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
     
    60066038    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_submit" "', argument " "3"" of type '" "char *""'");
    60076039  }
    6008   arg3 = buf3;
     6040  arg3 = (char *)(buf3);
    60096041  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
    60106042  if (!SWIG_IsOK(res4)) {
    60116043    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pbs_submit" "', argument " "4"" of type '" "char *""'");
    60126044  }
    6013   arg4 = buf4;
     6045  arg4 = (char *)(buf4);
    60146046  res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
    60156047  if (!SWIG_IsOK(res5)) {
    60166048    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "pbs_submit" "', argument " "5"" of type '" "char *""'");
    60176049  }
    6018   arg5 = buf5;
     6050  arg5 = (char *)(buf5);
    60196051  result = (char *)pbs_submit(arg1,arg2,arg3,arg4,arg5);
    6020   resultobj = SWIG_FromCharPtr(result);
     6052  resultobj = SWIG_FromCharPtr((const char *)result);
    60216053  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    60226054  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
     
    60366068  int arg2 ;
    60376069  char *arg3 = (char *) 0 ;
    6038   int result;
    60396070  int val1 ;
    60406071  int ecode1 = 0 ;
     
    60476078  PyObject * obj1 = 0 ;
    60486079  PyObject * obj2 = 0 ;
     6080  int result;
    60496081 
    60506082  if (!PyArg_ParseTuple(args,(char *)"OOO:pbs_terminate",&obj0,&obj1,&obj2)) SWIG_fail;
     
    60636095    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pbs_terminate" "', argument " "3"" of type '" "char *""'");
    60646096  }
    6065   arg3 = buf3;
     6097  arg3 = (char *)(buf3);
    60666098  result = (int)pbs_terminate(arg1,arg2,arg3);
    60676099  resultobj = SWIG_From_int((int)(result));
     
    60786110  int arg1 ;
    60796111  int arg2 ;
    6080   int result;
    60816112  int val1 ;
    60826113  int ecode1 = 0 ;
     
    60856116  PyObject * obj0 = 0 ;
    60866117  PyObject * obj1 = 0 ;
     6118  int result;
    60876119 
    60886120  if (!PyArg_ParseTuple(args,(char *)"OO:totpool",&obj0,&obj1)) SWIG_fail;
     
    61096141  int arg1 ;
    61106142  int arg2 ;
    6111   int result;
    61126143  int val1 ;
    61136144  int ecode1 = 0 ;
     
    61166147  PyObject * obj0 = 0 ;
    61176148  PyObject * obj1 = 0 ;
     6149  int result;
    61186150 
    61196151  if (!PyArg_ParseTuple(args,(char *)"OO:usepool",&obj0,&obj1)) SWIG_fail;
     
    61406172  char *arg1 = (char *) 0 ;
    61416173  unsigned int arg2 ;
    6142   int result;
    61436174  int res1 ;
    61446175  char *buf1 = 0 ;
     
    61486179  PyObject * obj0 = 0 ;
    61496180  PyObject * obj1 = 0 ;
     6181  int result;
    61506182 
    61516183  if (!PyArg_ParseTuple(args,(char *)"OO:openrm",&obj0,&obj1)) SWIG_fail;
     
    61546186    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "openrm" "', argument " "1"" of type '" "char *""'");
    61556187  }
    6156   arg1 = buf1;
     6188  arg1 = (char *)(buf1);
    61576189  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
    61586190  if (!SWIG_IsOK(ecode2)) {
     
    61736205  PyObject *resultobj = 0;
    61746206  int arg1 ;
    6175   int result;
    61766207  int val1 ;
    61776208  int ecode1 = 0 ;
    61786209  PyObject * obj0 = 0 ;
     6210  int result;
    61796211 
    61806212  if (!PyArg_ParseTuple(args,(char *)"O:closerm",&obj0)) SWIG_fail;
     
    61956227  PyObject *resultobj = 0;
    61966228  int arg1 ;
    6197   int result;
    61986229  int val1 ;
    61996230  int ecode1 = 0 ;
    62006231  PyObject * obj0 = 0 ;
     6232  int result;
    62016233 
    62026234  if (!PyArg_ParseTuple(args,(char *)"O:downrm",&obj0)) SWIG_fail;
     
    62186250  int arg1 ;
    62196251  char *arg2 = (char *) 0 ;
    6220   int result;
    62216252  int val1 ;
    62226253  int ecode1 = 0 ;
     
    62266257  PyObject * obj0 = 0 ;
    62276258  PyObject * obj1 = 0 ;
     6259  int result;
    62286260 
    62296261  if (!PyArg_ParseTuple(args,(char *)"OO:configrm",&obj0,&obj1)) SWIG_fail;
     
    62376269    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "configrm" "', argument " "2"" of type '" "char *""'");
    62386270  }
    6239   arg2 = buf2;
     6271  arg2 = (char *)(buf2);
    62406272  result = (int)configrm(arg1,arg2);
    62416273  resultobj = SWIG_From_int((int)(result));
     
    62526284  int arg1 ;
    62536285  char *arg2 = (char *) 0 ;
    6254   int result;
    62556286  int val1 ;
    62566287  int ecode1 = 0 ;
     
    62606291  PyObject * obj0 = 0 ;
    62616292  PyObject * obj1 = 0 ;
     6293  int result;
    62626294 
    62636295  if (!PyArg_ParseTuple(args,(char *)"OO:addreq",&obj0,&obj1)) SWIG_fail;
     
    62716303    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "addreq" "', argument " "2"" of type '" "char *""'");
    62726304  }
    6273   arg2 = buf2;
     6305  arg2 = (char *)(buf2);
    62746306  result = (int)addreq(arg1,arg2);
    62756307  resultobj = SWIG_From_int((int)(result));
     
    62856317  PyObject *resultobj = 0;
    62866318  char *arg1 = (char *) 0 ;
    6287   int result;
    62886319  int res1 ;
    62896320  char *buf1 = 0 ;
    62906321  int alloc1 = 0 ;
    62916322  PyObject * obj0 = 0 ;
     6323  int result;
    62926324 
    62936325  if (!PyArg_ParseTuple(args,(char *)"O:allreq",&obj0)) SWIG_fail;
     
    62966328    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "allreq" "', argument " "1"" of type '" "char *""'");
    62976329  }
    6298   arg1 = buf1;
     6330  arg1 = (char *)(buf1);
    62996331  result = (int)allreq(arg1);
    63006332  resultobj = SWIG_From_int((int)(result));
     
    63576389  PyObject *resultobj = 0;
    63586390  int arg1 ;
    6359   char *result = 0 ;
    63606391  int val1 ;
    63616392  int ecode1 = 0 ;
    63626393  PyObject * obj0 = 0 ;
     6394  char *result = 0 ;
    63636395 
    63646396  if (!PyArg_ParseTuple(args,(char *)"O:getreq",&obj0)) SWIG_fail;
     
    63696401  arg1 = (int)(val1);
    63706402  result = (char *)getreq(arg1);
    6371   resultobj = SWIG_FromCharPtr(result);
    6372   return resultobj;
    6373 fail:
    6374   return NULL;
    6375 }
    6376 
    6377 
    6378 SWIGINTERN int log_event_mask_set(PyObject *_val) {
     6403  resultobj = SWIG_FromCharPtr((const char *)result);
     6404  return resultobj;
     6405fail:
     6406  return NULL;
     6407}
     6408
     6409
     6410SWIGINTERN int Swig_var_log_event_mask_set(PyObject *_val) {
    63796411  {
    63806412    void *argp = 0;
     
    63916423
    63926424
    6393 SWIGINTERN PyObject *log_event_mask_get(void) {
     6425SWIGINTERN PyObject *Swig_var_log_event_mask_get(void) {
    63946426  PyObject *pyobj = 0;
    63956427 
     
    64476479    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "log_err" "', argument " "2"" of type '" "char *""'");
    64486480  }
    6449   arg2 = buf2;
     6481  arg2 = (char *)(buf2);
    64506482  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
    64516483  if (!SWIG_IsOK(res3)) {
    64526484    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "log_err" "', argument " "3"" of type '" "char *""'");
    64536485  }
    6454   arg3 = buf3;
     6486  arg3 = (char *)(buf3);
    64556487  log_err(arg1,arg2,arg3);
    64566488  resultobj = SWIG_Py_Void();
     
    65016533    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "log_event" "', argument " "3"" of type '" "char *""'");
    65026534  }
    6503   arg3 = buf3;
     6535  arg3 = (char *)(buf3);
    65046536  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
    65056537  if (!SWIG_IsOK(res4)) {
    65066538    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "log_event" "', argument " "4"" of type '" "char *""'");
    65076539  }
    6508   arg4 = buf4;
     6540  arg4 = (char *)(buf4);
    65096541  log_event(arg1,arg2,arg3,arg4);
    65106542  resultobj = SWIG_Py_Void();
     
    65236555  char *arg1 = (char *) 0 ;
    65246556  char *arg2 = (char *) 0 ;
    6525   int result;
    65266557  int res1 ;
    65276558  char *buf1 = 0 ;
     
    65326563  PyObject * obj0 = 0 ;
    65336564  PyObject * obj1 = 0 ;
     6565  int result;
    65346566 
    65356567  if (!PyArg_ParseTuple(args,(char *)"OO:log_open",&obj0,&obj1)) SWIG_fail;
     
    65386570    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_open" "', argument " "1"" of type '" "char *""'");
    65396571  }
    6540   arg1 = buf1;
     6572  arg1 = (char *)(buf1);
    65416573  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
    65426574  if (!SWIG_IsOK(res2)) {
    65436575    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "log_open" "', argument " "2"" of type '" "char *""'");
    65446576  }
    6545   arg2 = buf2;
     6577  arg2 = (char *)(buf2);
    65466578  result = (int)log_open(arg1,arg2);
    65476579  resultobj = SWIG_From_int((int)(result));
     
    65926624    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "log_record" "', argument " "3"" of type '" "char *""'");
    65936625  }
    6594   arg3 = buf3;
     6626  arg3 = (char *)(buf3);
    65956627  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
    65966628  if (!SWIG_IsOK(res4)) {
    65976629    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "log_record" "', argument " "4"" of type '" "char *""'");
    65986630  }
    6599   arg4 = buf4;
     6631  arg4 = (char *)(buf4);
    66006632  log_record(arg1,arg2,arg3,arg4);
    66016633  resultobj = SWIG_Py_Void();
     
    66446676
    66456677
    6646 SWIGINTERN int log_buffer_set(PyObject *_val) {
     6678SWIGINTERN int Swig_var_log_buffer_set(PyObject *_val) {
    66476679  {
    66486680    int res = SWIG_AsCharArray(_val, log_buffer, 4096);
     
    66576689
    66586690
    6659 SWIGINTERN PyObject *log_buffer_get(void) {
     6691SWIGINTERN PyObject *Swig_var_log_buffer_get(void) {
    66606692  PyObject *pyobj = 0;
    66616693 
     
    66726704  PyObject *resultobj = 0;
    66736705  char *arg1 = (char *) 0 ;
    6674   int result;
    66756706  int res1 ;
    66766707  char *buf1 = 0 ;
    66776708  int alloc1 = 0 ;
    66786709  PyObject * obj0 = 0 ;
     6710  int result;
    66796711 
    66806712  if (!PyArg_ParseTuple(args,(char *)"O:setup_env",&obj0)) SWIG_fail;
     
    66836715    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "setup_env" "', argument " "1"" of type '" "char *""'");
    66846716  }
    6685   arg1 = buf1;
     6717  arg1 = (char *)(buf1);
    66866718  result = (int)setup_env(arg1);
    66876719  resultobj = SWIG_From_int((int)(result));
     
    67016733  int arg4 ;
    67026734  int arg5 ;
    6703   int result;
    67046735  int res1 ;
    67056736  char *buf1 = 0 ;
     
    67186749  PyObject * obj3 = 0 ;
    67196750  PyObject * obj4 = 0 ;
     6751  int result;
    67206752 
    67216753  if (!PyArg_ParseTuple(args,(char *)"OOOOO:chk_file_sec",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
     
    67246756    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "chk_file_sec" "', argument " "1"" of type '" "char *""'");
    67256757  }
    6726   arg1 = buf1;
     6758  arg1 = (char *)(buf1);
    67276759  ecode2 = SWIG_AsVal_int(obj1, &val2);
    67286760  if (!SWIG_IsOK(ecode2)) {
     
    67556787
    67566788
    6757 SWIGINTERN int msg_daemonname_set(PyObject *_val) {
     6789SWIGINTERN int Swig_var_msg_daemonname_set(PyObject *_val) {
    67586790  {
    67596791    char *cptr = 0; size_t csize = 0; int alloc = SWIG_NEWOBJ;
     
    67666798      msg_daemonname = cptr;
    67676799    } else {
    6768       msg_daemonname = csize ? (char *)memcpy((char *)malloc((csize)*sizeof(char)), cptr, sizeof(char)*(csize)) : 0;
     6800      msg_daemonname = csize ? (char *)(char *)memcpy((char *)malloc((csize)*sizeof(char)), cptr, sizeof(char)*(csize)) : 0;
    67696801    }
    67706802  }
     
    67756807
    67766808
    6777 SWIGINTERN PyObject *msg_daemonname_get(void) {
     6809SWIGINTERN PyObject *Swig_var_msg_daemonname_get(void) {
    67786810  PyObject *pyobj = 0;
    67796811 
     
    68746906/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
    68756907
    6876 static swig_type_info _swigt__p_attrl = {"_p_attrl", "struct attrl *", 0, 0, (void*)0, 0};
    6877 static swig_type_info _swigt__p_attropl = {"_p_attropl", "struct attropl *", 0, 0, (void*)0, 0};
    6878 static swig_type_info _swigt__p_batch_status = {"_p_batch_status", "struct batch_status *", 0, 0, (void*)0, 0};
     6908static swig_type_info _swigt__p_attrl = {"_p_attrl", "struct attrl *|attrl *", 0, 0, (void*)0, 0};
     6909static swig_type_info _swigt__p_attropl = {"_p_attropl", "struct attropl *|attropl *", 0, 0, (void*)0, 0};
     6910static swig_type_info _swigt__p_batch_status = {"_p_batch_status", "struct batch_status *|batch_status *", 0, 0, (void*)0, 0};
    68796911static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
    68806912static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
     
    69336965 *
    69346966 * The generated swig_type_info structures are assigned staticly to an initial
    6935  * array. We just loop though that array, and handle each type individually.
     6967 * array. We just loop through that array, and handle each type individually.
    69366968 * First we lookup if this type has been already loaded, and if so, use the
    69376969 * loaded structure instead of the generated one. Then we have to fill in the
     
    69717003#endif
    69727004
     7005
    69737006SWIGRUNTIME void
    69747007SWIG_InitializeModule(void *clientdata) {
    69757008  size_t i;
    6976   swig_module_info *module_head;
    6977   static int init_run = 0;
     7009  swig_module_info *module_head, *iter;
     7010  int found, init;
    69787011 
    69797012  clientdata = clientdata;
    69807013 
    6981   if (init_run) return;
    6982   init_run = 1;
    6983  
    6984   /* Initialize the swig_module */
    6985   swig_module.type_initial = swig_type_initial;
    6986   swig_module.cast_initial = swig_cast_initial;
     7014  /* check to see if the circular list has been setup, if not, set it up */
     7015  if (swig_module.next==0) {
     7016    /* Initialize the swig_module */
     7017    swig_module.type_initial = swig_type_initial;
     7018    swig_module.cast_initial = swig_cast_initial;
     7019    swig_module.next = &swig_module;
     7020    init = 1;
     7021  } else {
     7022    init = 0;
     7023  }
    69877024 
    69887025  /* Try and load any already created modules */
    69897026  module_head = SWIG_GetModule(clientdata);
    6990   if (module_head) {
     7027  if (!module_head) {
     7028    /* This is the first module loaded for this interpreter */
     7029    /* so set the swig module into the interpreter */
     7030    SWIG_SetModule(clientdata, &swig_module);
     7031    module_head = &swig_module;
     7032  } else {
     7033    /* the interpreter has loaded a SWIG module, but has it loaded this one? */
     7034    found=0;
     7035    iter=module_head;
     7036    do {
     7037      if (iter==&swig_module) {
     7038        found=1;
     7039        break;
     7040      }
     7041      iter=iter->next;
     7042    } while (iter!= module_head);
     7043   
     7044    /* if the is found in the list, then all is done and we may leave */
     7045    if (found) return;
     7046    /* otherwise we must add out module into the list */
    69917047    swig_module.next = module_head->next;
    69927048    module_head->next = &swig_module;
    6993   } else {
    6994     /* This is the first module loaded */
    6995     swig_module.next = &swig_module;
    6996     SWIG_SetModule(clientdata, &swig_module);
    6997   }
     7049  }
     7050 
     7051  /* When multiple interpeters are used, a module could have already been initialized in
     7052       a different interpreter, but not yet have a pointer in this interpreter.
     7053       In this case, we do not want to continue adding types... everything should be
     7054       set up already */
     7055  if (init == 0) return;
    69987056 
    69997057  /* Now work on filling in swig_module.types */
     
    73077365 
    73087366  SWIGINTERN PyObject *
    7309   SWIG_globals() {
     7367  SWIG_globals(void) {
    73107368    static PyObject *_SWIG_globals = 0;
    73117369    if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); 
     
    73527410    size_t i;
    73537411    for (i = 0; methods[i].ml_name; ++i) {
    7354       char *c = methods[i].ml_doc;
     7412      const char *c = methods[i].ml_doc;
    73557413      if (c && (c = strstr(c, "swig_ptr: "))) {
    73567414        int j;
    73577415        swig_const_info *ci = 0;
    7358         char *name = c + 10;
     7416        const char *name = c + 10;
    73597417        for (j = 0; const_table[j].type; ++j) {
    73607418          if (strncmp(const_table[j].name, name,
     
    76307688  SWIG_Python_SetConstant(d, "RESOURCE_T_ALL",SWIG_From_int((int)(-1)));
    76317689  PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
    7632   SWIG_addvarlink(SWIG_globals(),(char*)"pbs_errno",pbs_errno_get, pbs_errno_set);
    7633   SWIG_addvarlink(SWIG_globals(),(char*)"pbs_server",pbs_server_get, pbs_server_set);
     7690  SWIG_addvarlink(SWIG_globals(),(char*)"pbs_errno",Swig_var_pbs_errno_get, Swig_var_pbs_errno_set);
     7691  SWIG_addvarlink(SWIG_globals(),(char*)"pbs_server",Swig_var_pbs_server_get, Swig_var_pbs_server_set);
    76347692  SWIG_Python_SetConstant(d, "LOG_BUF_SIZE",SWIG_From_int((int)(4096)));
    7635   SWIG_addvarlink(SWIG_globals(),(char*)"log_event_mask",log_event_mask_get, log_event_mask_set);
    7636   SWIG_addvarlink(SWIG_globals(),(char*)"log_buffer",log_buffer_get, log_buffer_set);
     7693  SWIG_addvarlink(SWIG_globals(),(char*)"log_event_mask",Swig_var_log_event_mask_get, Swig_var_log_event_mask_set);
     7694  SWIG_addvarlink(SWIG_globals(),(char*)"log_buffer",Swig_var_log_buffer_get, Swig_var_log_buffer_set);
    76377695  SWIG_Python_SetConstant(d, "PBSEVENT_ERROR",SWIG_From_int((int)(0x0001)));
    76387696  SWIG_Python_SetConstant(d, "PBSEVENT_SYSTEM",SWIG_From_int((int)(0x0002)));
     
    76537711  SWIG_Python_SetConstant(d, "PBS_EVENTCLASS_NODE",SWIG_From_int((int)(7)));
    76547712  SWIG_Python_SetConstant(d, "PBSEVENT_MASK",SWIG_From_int((int)(0x01ff)));
    7655   SWIG_addvarlink(SWIG_globals(),(char*)"msg_daemonname",msg_daemonname_get, msg_daemonname_set);
    7656 }
    7657 
     7713  SWIG_addvarlink(SWIG_globals(),(char*)"msg_daemonname",Swig_var_msg_daemonname_get, Swig_var_msg_daemonname_set);
     7714}
     7715
Note: See TracChangeset for help on using the changeset viewer.