mygetpropstring
cp = mygetpropstring(node, "device_type");
static char *mygetpropstring(int, char *);