summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Robert S. French <rfrench@mit.edu>1987-06-23 13:07:17 +0000
committerGravatar Robert S. French <rfrench@mit.edu>1987-06-23 13:07:17 +0000
commit085058de991ff5b160fee57af1fc3a7cf62ad8c3 (patch)
tree7552169261bbc76739624c918e570c12e5ed9c03 /lib
parent92273597b39c15b0ce0f43cf9768106a1419c565 (diff)
KRB format
Diffstat (limited to 'lib')
-rw-r--r--lib/ZLocations.c2
-rw-r--r--lib/ZSendList.c6
-rw-r--r--lib/ZSendNot.c5
3 files changed, 8 insertions, 5 deletions
diff --git a/lib/ZLocations.c b/lib/ZLocations.c
index 139f793..670a61c 100644
--- a/lib/ZLocations.c
+++ b/lib/ZLocations.c
@@ -29,5 +29,5 @@ Code_t ZSetLocation()
notice.z_recipient = "";
notice.z_message_len = 0;
- return (ZSendNotice(&notice));
+ return (ZSendNotice(&notice,1));
}
diff --git a/lib/ZSendList.c b/lib/ZSendList.c
index 5db9105..3df8cca 100644
--- a/lib/ZSendList.c
+++ b/lib/ZSendList.c
@@ -16,10 +16,11 @@
#include <zephyr/zephyr_internal.h>
-Code_t ZSendList(notice,list,nitems)
+Code_t ZSendList(notice,list,nitems,cert)
ZNotice_t *notice;
char *list[];
int nitems;
+ int cert;
{
Code_t retval;
char *buffer;
@@ -30,7 +31,8 @@ Code_t ZSendList(notice,list,nitems)
return (ENOMEM);
if ((retval = ZFormatNoticeList(notice,list,nitems,buffer,
- Z_MAXPKTLEN,&len)) != ZERR_NONE) {
+ Z_MAXPKTLEN,&len,cert))
+ != ZERR_NONE) {
free(buffer);
return (retval);
}
diff --git a/lib/ZSendNot.c b/lib/ZSendNot.c
index f971a9b..12f67c0 100644
--- a/lib/ZSendNot.c
+++ b/lib/ZSendNot.c
@@ -16,8 +16,9 @@
#include <zephyr/zephyr_internal.h>
-Code_t ZSendNotice(notice)
+Code_t ZSendNotice(notice,cert)
ZNotice_t *notice;
+ int cert;
{
Code_t retval;
char *buffer;
@@ -27,7 +28,7 @@ Code_t ZSendNotice(notice)
if (!buffer)
return (ENOMEM);
- if ((retval = ZFormatNotice(notice,buffer,Z_MAXPKTLEN,&len)) !=
+ if ((retval = ZFormatNotice(notice,buffer,Z_MAXPKTLEN,&len,cert)) !=
ZERR_NONE) {
free(buffer);
return (retval);