python/src/atrshmlogpython.c
static PyObject*
python_atrshmlog_reattach (PyObject *self, PyObject *args)
{
  PyAtrshmlog_reattach_RETURN result ;

  int p[100];
  
  if (!PyArg_ParseTuple(args, "iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii",
			&p[0],
			&p[1],
			&p[2],
			&p[3],
			&p[4],
			&p[5],
			&p[6],
			&p[7],
			&p[8],
			&p[9],
			&p[10],
			&p[11],
			&p[12],
			&p[13],
			&p[14],
			&p[15],
			&p[16],
			&p[17],
			&p[18],
			&p[19],
			&p[20],
			&p[21],
			&p[22],
			&p[23],
			&p[24],
			&p[25],
			&p[26],
			&p[27],
			&p[28],
			&p[29],
			&p[30],
			&p[31],
			&p[32],
			&p[33],
			&p[34],
			&p[35],
			&p[36],
			&p[37],
			&p[38],
			&p[39],
			&p[40],
			&p[41],
			&p[42],
			&p[43],
			&p[44],
			&p[45],
			&p[46],
			&p[47],
			&p[48],
			&p[49],
			&p[50],
			&p[51],
			&p[52],
			&p[53],
			&p[54],
			&p[55],
			&p[56],
			&p[57]))
    {
      PyErr_SetString(AtrshmlogError, "reattach : fetch failed ("
		      "flag0,"
		      "id1," 
		      "flag2," 
		      "count3," 
		      "flag4," 
		      "iniinadvc5," 
		      "flag6," 
		      "bufferstrat7," 
		      "flag8," 
		      "wwtime9," 
		      "flag10," 
		      "delim11," 
		      "flag12," 
		      "evlocks13," 
		      "flag14," 
		      "buffinfosz15," 
		      "flag16," 
		      "pac17," 
		      "flag18," 
		      "slw19," 
		      "flag20," 
		      "slc21," 
		      "flag22," 
		      "wfs23," 
		      "flag24," 
		      "cid25," 
		      "flag26," 
		      "f1_27," 
		      "flag28," 
		      "f2_29," 
		      "flag30," 
		      "f3_31," 
		      "flag32," 
		      "f4_33," 
		      "flag34," 
		      "f5_35," 
		      "flag36," 
		      "f6_37," 
		      "flag38," 
		      "f7_39," 
		      "flag40," 
		      "f8_41," 
		      "flag42," 
		      "f9_43," 
		      "flag44," 
		      "f10_45," 
		      "flag46," 
		      "f11_47," 
		      "flag48," 
		      "f12_49," 
		      "flag50," 
		      "f13_51," 
		      "flag52," 
		      "chk53," 
		      "flag54," 
		      "loff55"
		      "flag56," 
		      "tarbufmax57"
		      ")");
      return NULL;
    }

  result = PyAtrshmlog_reattach(p);

  return PyLong_FromLong(result);
}
/**
 * \brief We reattach to the shared memory.
 */
\brief We reattach to the shared memory.
\ brief We reattach to the shared memory .
static PyObject*
python_atrshmlog_reattach (PyObject *self, PyObject *args)
{
  PyAtrshmlog_reattach_RETURN result ;
  int p[100];
  if (!PyArg_ParseTuple(args, "iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii",
			&p[0],
			&p[1],
			&p[2],
			&p[3],
			&p[4],
			&p[5],
			&p[6],
			&p[7],
			&p[8],
			&p[9],
			&p[10],
			&p[11],
			&p[12],
			&p[13],
			&p[14],
			&p[15],
			&p[16],
			&p[17],
			&p[18],
			&p[19],
			&p[20],
			&p[21],
			&p[22],
			&p[23],
			&p[24],
			&p[25],
			&p[26],
			&p[27],
			&p[28],
			&p[29],
			&p[30],
			&p[31],
			&p[32],
			&p[33],
			&p[34],
			&p[35],
			&p[36],
			&p[37],
			&p[38],
			&p[39],
			&p[40],
			&p[41],
			&p[42],
			&p[43],
			&p[44],
			&p[45],
			&p[46],
			&p[47],
			&p[48],
			&p[49],
			&p[50],
			&p[51],
			&p[52],
			&p[53],
			&p[54],
			&p[55],
			&p[56],
			&p[57]))
    {
      PyErr_SetString(AtrshmlogError, "reattach : fetch failed ("
		      "flag0,"
		      "id1," 
		      "flag2," 
		      "count3," 
		      "flag4," 
		      "iniinadvc5," 
		      "flag6," 
		      "bufferstrat7," 
		      "flag8," 
		      "wwtime9," 
		      "flag10," 
		      "delim11," 
		      "flag12," 
		      "evlocks13," 
		      "flag14," 
		      "buffinfosz15," 
		      "flag16," 
		      "pac17," 
		      "flag18," 
		      "slw19," 
		      "flag20," 
		      "slc21," 
		      "flag22," 
		      "wfs23," 
		      "flag24," 
		      "cid25," 
		      "flag26," 
		      "f1_27," 
		      "flag28," 
		      "f2_29," 
		      "flag30," 
		      "f3_31," 
		      "flag32," 
		      "f4_33," 
		      "flag34," 
		      "f5_35," 
		      "flag36," 
		      "f6_37," 
		      "flag38," 
		      "f7_39," 
		      "flag40," 
		      "f8_41," 
		      "flag42," 
		      "f9_43," 
		      "flag44," 
		      "f10_45," 
		      "flag46," 
		      "f11_47," 
		      "flag48," 
		      "f12_49," 
		      "flag50," 
		      "f13_51," 
		      "flag52," 
		      "chk53," 
		      "flag54," 
		      "loff55"
		      "flag56," 
		      "tarbufmax57"
		      ")");
      return NULL;
    }
  result = PyAtrshmlog_reattach(p);
  return PyLong_FromLong(result);
}
static PyObject * python_atrshmlog_reattach ( PyObject * self , PyObject * args ) { PyAtrshmlog_reattach_RETURN result ; int p [ 100 ] ; if ( ! PyArg_ParseTuple ( args , " " , & p [ 0 ] , & p [ 1 ] , & p [ 2 ] , & p [ 3 ] , & p [ 4 ] , & p [ 5 ] , & p [ 6 ] , & p [ 7 ] , & p [ 8 ] , & p [ 9 ] , & p [ 10 ] , & p [ 11 ] , & p [ 12 ] , & p [ 13 ] , & p [ 14 ] , & p [ 15 ] , & p [ 16 ] , & p [ 17 ] , & p [ 18 ] , & p [ 19 ] , & p [ 20 ] , & p [ 21 ] , & p [ 22 ] , & p [ 23 ] , & p [ 24 ] , & p [ 25 ] , & p [ 26 ] , & p [ 27 ] , & p [ 28 ] , & p [ 29 ] , & p [ 30 ] , & p [ 31 ] , & p [ 32 ] , & p [ 33 ] , & p [ 34 ] , & p [ 35 ] , & p [ 36 ] , & p [ 37 ] , & p [ 38 ] , & p [ 39 ] , & p [ 40 ] , & p [ 41 ] , & p [ 42 ] , & p [ 43 ] , & p [ 44 ] , & p [ 45 ] , & p [ 46 ] , & p [ 47 ] , & p [ 48 ] , & p [ 49 ] , & p [ 50 ] , & p [ 51 ] , & p [ 52 ] , & p [ 53 ] , & p [ 54 ] , & p [ 55 ] , & p [ 56 ] , & p [ 57 ] ) ) { PyErr_SetString ( AtrshmlogError , " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " ) ; return NULL ; } result = PyAtrshmlog_reattach ( p ) ; return PyLong_FromLong ( result ) ; }
\brief We reattach to the shared memory.
\ brief We reattach to the shared memory .