#endif lint
#include <mit-copyright.h>
-#include <sms.h>
+#include <moira.h>
+#include "mr_server.h"
#include "query.h"
#ifdef MULTIPROTOCOLS
register int i;
#ifdef MULTIPROTOCOLS
- if (version == SMS_VERSION_1) {
+ if (version == MR_VERSION_1) {
q = Queries1;
i = QueryCount1;
} else {
return((struct query *)0);
}
-list_queries(version, action, actarg)
+void list_queries(version, action, actarg)
int version;
int (*action)();
- int actarg;
+ char *actarg;
{
register struct query *q;
register int i;
int qcmp();
#ifdef MULTIPROTOCOLS
- if (version == SMS_VERSION_1) {
+ if (version == MR_VERSION_1) {
count = QueryCount1;
if (squeries1 == (struct query **)0) {
sq = (struct query **)malloc(count * sizeof (struct query *));
(*action)(1, &qnp, actarg);
}
-help_query(q, action, actarg)
+void help_query(q, action, actarg)
register struct query *q;
int (*action)();
- int actarg;
+ char *actarg;
{
register int argcount;
register int i;