Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-kernel/service.h

    r26 r9  
    5353#define SERVICE_SIZE (ELEMENTS_SIZE*2)+(MAP_SIZE*2)+sizeof(char*)
    5454
    55 #define SHMSZ     27
     55
     56  /*  static char* mtoupper(char* str){
     57    char* tmp=strdup(str);
     58    if(tmp){
     59      int cnt=strlen(tmp);
     60      int i;
     61      for(i=0;i<cnt;i++){
     62        tmp[i]=toupper(str[i]);
     63        tmp[i+1]=0;
     64      }
     65    }
     66    else
     67      tmp[0]=0;
     68    return tmp;
     69    }*/
    5670
    5771  /**
     
    423437      }
    424438      tmp=tmp->next;
    425     }
    426   }
    427 
    428 
    429   static void* setMapInMaps(maps* m,char* key,char* subkey,char *value){
    430     maps* _tmpm=getMaps(m,key);
    431     if(_tmpm!=NULL){
    432       map* _ztmpm=getMap(_tmpm->content,subkey);
    433       if(_ztmpm!=NULL){
    434         free(_ztmpm->value);
    435         _ztmpm->value=strdup(value);
    436         dumpMap(_ztmpm);
    437       }else{
    438         addToMap(_tmpm->content,subkey,value);
    439       }
    440439    }
    441440  }
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png