Changeset 10436


Ignore:
Timestamp:
2005-08-08T16:10:00+12:00 (19 years ago)
Author:
kjdon
Message:

moved the yaz headers to the top or teh include list to avoid namespace conflicts

Location:
trunk/gsdl/src/colservr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/z3950parser.h

    r9926 r10436  
    2727#define Z3950PARSER_H
    2828
     29// YAZ headers
     30extern "C" {
     31#include <yaz/backend.h>
     32#include <yaz/log.h>
     33#ifdef ASN_COMPILED
     34#include <yaz/ill.h>
     35#endif
     36}
    2937
    3038#include <string>
     
    4250#include "nullproto.h"
    4351#include "z3950_to_gsdl.h"
    44 
    45 // YAZ headers
    46 #include <yaz/backend.h>
    47 #include <yaz/log.h>
    48 #ifdef ASN_COMPILED
    49 #include <yaz/ill.h>
    50 #endif
    51 
    5252
    5353extern text_t gsdlhome;
  • trunk/gsdl/src/colservr/z3950server.cpp

    r10005 r10436  
     1
     2// YAZ headers
     3#include <yaz/backend.h>
     4#include <yaz/log.h>
     5#ifdef ASN_COMPILED
     6#include <yaz/ill.h>
     7#endif
     8
     9
    110// Standard headers
    211
     
    2837#include "recptproto.h"
    2938#include "nullproto.h"
    30 
    31 // YAZ headers
    32 #include <yaz/backend.h>
    33 #include <yaz/log.h>
    34 #ifdef ASN_COMPILED
    35 #include <yaz/ill.h>
    36 #endif
    3739
    3840
     
    943945int main (int argc, char *argv[])
    944946{
     947 
    945948  const int statserv_var =  statserv_main(argc, argv, bend_init, bend_close);
    946949  cerr << "statserv_main returns: " << statserv_var << endl;
Note: See TracChangeset for help on using the changeset viewer.