Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 35 lines (33 sloc) 0.821 kb
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
<?xml version="1.0"?>
<!DOCTYPE methoddef SYSTEM "rpc-method.dtd">
<!--
Generated automatically by make_method v1.06, Wed Nov 14 04:56:35 2001

Any changes made here will be lost.
-->
<methoddef>
<name>system.identity</name>
<version>1.0</version>
<help>
Return the server name and version as a string
</help>
<code language="perl">
###############################################################################
#
# Sub Name: identity
#
# Description: Simply returns the server's identity as a string
#
# Arguments: First arg is server instance
#
# Globals: None.
#
# Returns: string
#
###############################################################################
sub identity
{
    use strict;

    sprintf('%s/%s', ref($_[0]), $_[0]-&gt;version);
}
</code>
</methoddef>
Something went wrong with that request. Please try again.