Changeset 128

Show
Ignore:
Timestamp:
04/20/09 19:09:59 (3 years ago)
Author:
ol
Message:

Add new alist struct. As an array of list

Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • Makefile.vc

    r98 r128  
    3434            src\ows\ows_request.obj src\ows\ows_srs.obj src\ows\ows_version.obj src\ows\ows_storage.obj \ 
    3535            src\struct\array.obj src\struct\buffer.obj src\struct\cgi_request.obj \ 
    36             src\struct\list.obj src\struct\mlist.obj src\struct\regexp.obj \ 
     36            src\struct\alist.obj src\struct\list.obj src\struct\mlist.obj src\struct\regexp.obj \ 
    3737            src\wfs\wfs_describe.obj src\wfs\wfs_error.obj src\wfs\wfs_get_capabilities.obj \ 
    3838            src\wfs\wfs_get_feature.obj src\wfs\wfs_request.obj src\wfs\wfs_transaction.obj \ 
  • src/ows_api.h

    r121 r128  
    55array *array_init (); 
    66bool array_is_key (const array * a, const char *key); 
     7alist *alist_init(); 
     8void alist_free(alist * al); 
     9void alist_add(alist * al, buffer * key, buffer * value); 
     10bool alist_is_key(const alist * al, const char *key); 
     11list *alist_get(const alist * al, const char *key); 
     12void alist_flush(const alist * al, FILE * output); 
    713void buffer_add (buffer * buf, char c); 
    814void buffer_add_double (buffer * buf, double f);