2917 IntItemNode* intNode = 0;
2918 CharItemNode* charNode = 0;
2926 if (state != RUNNING) {
2927 return FEE_WRONG_STATE;
2929 if (serviceName == 0) {
2930 return FEE_NULLPOINTER;
2939 if ((node == 0) || (intNode == 0)) {
2945 if ((node == 0) && (intNode == 0) && (charNode == 0)) {
2947 msg[
sprintf(msg,
"Item %s not found in list.", serviceName)] = 0;
2950 printf(
"Item %s not found in list.\n", serviceName);
2953 return FEE_INVALID_PARAM;
2962 }
else if (intNode != 0) {
2972 (charNode->charItem->user_routine)(&(charNode->charItem->tag),
2973 (
int**) &addr, &size);
2974 data = (
char*)
malloc(size +1);
2975 strncpy(data, addr, size);
ItemNode * findItem(char *name)
CharItemNode * findCharItem(char *name)
void createLogMessage(unsigned int type, char *description, char *origin)
#define dis_update_service
IntItemNode * findIntItem(char *name)
sprintf(name1,"NewService%d", i)