]> andersk Git - moira.git/blobdiff - include/moira.h
Remove `delete_user_by_uid' since it's never been used in any logs we have,
[moira.git] / include / moira.h
index bd117b1578157a8976000eb82284d0555fb85494..c88f914a4146dd9b6c4a09d92c3b7533d3ad56c5 100644 (file)
@@ -72,6 +72,7 @@ struct hash {
 int mr_connect(char *server);
 int mr_disconnect();
 int mr_host(char *host, int size);
+int mr_motd(char **motd);
 int mr_auth(char *prog);
 int mr_access(char *handle, int argc, char **argv);
 int mr_access_internal(int argc, char **argv);
@@ -86,10 +87,11 @@ char *hash_lookup(struct hash *h, int key);
 char *strsave(char *s);
 char *strtrim(char *s);
 char *canonicalize_hostname(char *s);
-#else !__STDC__
+#else /* !__STDC__ */
 int mr_connect();
 int mr_disconnect();
 int mr_host();
+int mr_motd();
 int mr_auth();
 int mr_access();
 int mr_query();
@@ -100,6 +102,10 @@ char *hash_lookup();
 char *strsave();
 char *strtrim();
 char *canonicalize_hostname();
-#endif __STDC__
+#endif  /* __STDC__ */
 
-#endif _moira_h_               /* Do Not Add Anything after this line. */
+/* error-name backward compatibility */
+#define MR_INGRES_ERR          MR_DBMS_ERR
+#define MR_INGRES_SOFTFAIL     MR_DBMS_SOFTFAIL
+
+#endif /* _moira_h_ */         /* Do Not Add Anything after this line. */
This page took 0.03752 seconds and 4 git commands to generate.