Ignore:
Timestamp:
Jan 27, 2011, 11:47:22 PM (13 years ago)
Author:
djay
Message:

Give ZOO-Services capabilities to return a Cookie to the client and to store persistent informations, using senv maps in main_conf, on the server side. Bug fix in addDefaultValues.

File:
1 edited

Legend:

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

    r60 r92  
    103103  }
    104104
     105  static void dumpMapToFile(map* t,FILE* file){
     106    map* tmp=t;
     107    while(tmp!=NULL){
     108      fprintf(file,"%s = %s\n",t->name,t->value);
     109      tmp=tmp->next;
     110    }
     111  }
     112
    105113  static void dumpMaps(maps* m){
    106114    maps* tmp=m;
     
    109117      dumpMap(tmp->content);
    110118      tmp=tmp->next;
     119    }
     120  }
     121
     122  static void dumpMapsToFile(maps* m,FILE* file){
     123    maps* tmp=m;
     124    if(tmp!=NULL){
     125      fprintf(file,"[%s]\n",tmp->name);
     126      dumpMapToFile(tmp->content,file);
    111127    }
    112128  }
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