aboutsummaryrefslogtreecommitdiff
path: root/examples/README
blob: 58ac7fc7ff656c4dd2805a491d82d15452a6f886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
This directory contains examples of Gamma usage.

* expat-info.scm

Shows information about Expat library and its version.

* xmlck.scm

A simple checker for XML documents.  Parses its input and verifies
if it is a valid XML.

* xml-check.scm

A more advanced XML checker.  Displays an extended diagnostics,
including the context in which error appears.

* xml-struct.scm

Reads an XML document from standard input and prints an outline
of its structure on standard output.

* whoisd.scm -- a simple whois daemon.

Here is the database structure for use with this daemon:

CREATE DATABASE whois
CREATE TABLE admin_c (
	domain	varchar(255) default '' not null,
	contact char(24) default '' not null
);
CREATE TABLE tech_c (
	domain	varchar(255) default '' not null,
	contact char(24) default '' not null
);
CREATE TABLE zone_c (
	domain	varchar(255) default '' not null,
	contact char(24) default '' not null
);
CREATE TABLE nserver (
	domain	varchar(255) default '' not null,
	nserver varchar(255) default '' not null
);
CREATE TABLE domain (
	domain	varchar(255) default '' not null,
	created	date,
	changed	date,
	changed_by char(128),
	descr	text,
	remark	text,
	source  char(24) default 'UNKNOWN' not null
);

  

Local Variables:
mode: outline
paragraph-separate: "[ 	]*$"
version-control: never
End:

Return to:

Send suggestions and report system problems to the System administrator.