projects
/
simpleserver-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for GFS start handler
[simpleserver-moved-to-github.git]
/
ztest.pl
diff --git
a/ztest.pl
b/ztest.pl
index
9ecb4d9
..
473e380
100755
(executable)
--- a/
ztest.pl
+++ b/
ztest.pl
@@
-169,9
+169,15
@@
sub my_fetch_handler {
}
}
}
}
+sub my_start_handler {
+ my $args = shift;
+ my $config = $args->{CONFIG};
+}
+
Net::Z3950::SimpleServer::yazlog("hello");
my $handler = new Net::Z3950::SimpleServer(
Net::Z3950::SimpleServer::yazlog("hello");
my $handler = new Net::Z3950::SimpleServer(
+ START => "main::my_start_handler",
INIT => "main::my_init_handler",
SEARCH => "main::my_search_handler",
SCAN => "main::my_scan_handler",
INIT => "main::my_init_handler",
SEARCH => "main::my_search_handler",
SCAN => "main::my_scan_handler",