Go to the documentation of this file.
12 static const char *
DESCRIPTION =
"How to add SVDRP support to a plugin";
28 " Print the current date.",
30 " Print the current time.\n"
31 " If the optional keyword 'raw' is given, the result will be the\n"
40 if (strcasecmp(Command,
"DATE") == 0) {
44 else if (strcasecmp(Command,
"TIME") == 0) {
47 if (strcasecmp(Option,
"RAW") == 0)
48 return cString::sprintf(
"%ld\nThis is the number of seconds since the epoch\nand a demo of a multi-line reply", time(NULL));