summaryrefslogtreecommitdiffstats
path: root/contrib/bind9/lib/bind/irs/irp.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bind9/lib/bind/irs/irp.c')
-rw-r--r--contrib/bind9/lib/bind/irs/irp.c39
1 files changed, 13 insertions, 26 deletions
diff --git a/contrib/bind9/lib/bind/irs/irp.c b/contrib/bind9/lib/bind/irs/irp.c
index 649079c..85a053d 100644
--- a/contrib/bind9/lib/bind/irs/irp.c
+++ b/contrib/bind9/lib/bind/irs/irp.c
@@ -16,7 +16,7 @@
*/
#if !defined(LINT) && !defined(CODECENTER)
-static const char rcsid[] = "$Id: irp.c,v 1.3.2.1.10.4 2006/03/10 00:17:21 marka Exp $";
+static const char rcsid[] = "$Id: irp.c,v 1.6.18.3 2006/03/10 00:20:08 marka Exp $";
#endif
/* Imports */
@@ -66,7 +66,7 @@ static void irp_close(struct irs_acc *);
/* send errors to syslog if true. */
int irp_log_errors = 1;
-/*
+/*%
* This module handles the irp module connection to irpd.
*
* The client expects a synchronous interface to functions like
@@ -74,7 +74,7 @@ int irp_log_errors = 1;
* the wire (it's used in the server).
*/
-/*
+/*%
* irs_acc *irs_irp_acc(const char *options);
*
* Initialize the irp module.
@@ -137,8 +137,7 @@ irs_irp_connection_setup(struct irp_p *cxndata, int *warned) {
return (0);
}
-
-/*
+/*%
* int irs_irp_connect(void);
*
* Sets up the connection to the remote irpd server.
@@ -245,9 +244,7 @@ irs_irp_connect(struct irp_p *pvt) {
return (0);
}
-
-
-/*
+/*%
* int irs_irp_is_connected(struct irp_p *pvt);
*
* Returns:
@@ -261,9 +258,7 @@ irs_irp_is_connected(struct irp_p *pvt) {
return (pvt->fdCxn >= 0);
}
-
-
-/*
+/*%
* void
* irs_irp_disconnect(struct irp_p *pvt);
*
@@ -355,11 +350,7 @@ irs_irp_read_line(struct irp_p *pvt, char *buffer, int len) {
return (buffpos);
}
-
-
-
-
-/*
+/*%
* int irp_read_response(struct irp_p *pvt);
*
* Returns:
@@ -399,9 +390,7 @@ irs_irp_read_response(struct irp_p *pvt, char *text, size_t textlen) {
return (code);
}
-
-
-/*
+/*%
* char *irp_read_body(struct irp_p *pvt, size_t *size);
*
* Read in the body of a response. Terminated by a line with
@@ -471,8 +460,7 @@ irs_irp_read_body(struct irp_p *pvt, size_t *size) {
return (NULL);
}
-
-/*
+/*%
* int irs_irp_get_full_response(struct irp_p *pvt, int *code,
* char **body, size_t *bodylen);
*
@@ -515,8 +503,7 @@ irs_irp_get_full_response(struct irp_p *pvt, int *code, char *text,
return (0);
}
-
-/*
+/*%
* int irs_irp_send_command(struct irp_p *pvt, const char *fmt, ...);
*
* Sends command to remote connected via the PVT
@@ -572,9 +559,7 @@ irs_irp_send_command(struct irp_p *pvt, const char *fmt, ...) {
/* Methods */
-
-
-/*
+/*%
* void irp_close(struct irs_acc *this)
*
*/
@@ -593,3 +578,5 @@ irp_close(struct irs_acc *this) {
+
+/*! \file */
OpenPOWER on IntegriCloud