Last change
on this file since 173 was 166, checked in by rjmcnab, 25 years ago |
Initial revision.
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
848 bytes
|
Line | |
---|
1 | /**********************************************************************
|
---|
2 | *
|
---|
3 | * librarymain.cpp --
|
---|
4 | * Copyright (C) 1999 The New Zealand Digital Library Project
|
---|
5 | *
|
---|
6 | * PUT COPYRIGHT NOTICE HERE
|
---|
7 | *
|
---|
8 | * $Id: librarymain.cpp 166 1999-02-21 22:35:26Z rjmcnab $
|
---|
9 | *
|
---|
10 | *********************************************************************/
|
---|
11 |
|
---|
12 | /*
|
---|
13 | $Log$
|
---|
14 | Revision 1.1 1999/02/21 22:35:22 rjmcnab
|
---|
15 |
|
---|
16 | Initial revision.
|
---|
17 |
|
---|
18 | */
|
---|
19 |
|
---|
20 |
|
---|
21 | #include "receptionist.h"
|
---|
22 | #include "cgiwrapper.h"
|
---|
23 | #include "nullproto.h"
|
---|
24 | #include "collectserver.h"
|
---|
25 | #include <assert.h>
|
---|
26 |
|
---|
27 | int main () {
|
---|
28 | receptionist recpt;
|
---|
29 | nullproto nproto;
|
---|
30 |
|
---|
31 | // add a collection server for each collection ... (not implemented yet)
|
---|
32 | collectserver cserver;
|
---|
33 | cserver.configure ("collection", "gberg");
|
---|
34 | nproto.add_collectserver (&cserver);
|
---|
35 |
|
---|
36 | // add the protocol to the receptionist
|
---|
37 | recpt.add_protocol (&nproto);
|
---|
38 |
|
---|
39 | cgiwrapper (recpt, "");
|
---|
40 | return 0;
|
---|
41 | }
|
---|
42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.