diff options
author | Karl Ramm <kcr@mit.edu> | 2009-03-15 22:13:16 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2009-03-15 22:13:16 +0000 |
commit | 60cd1ff0635fdeda3c5a2cafee2d9a53f82cae0d (patch) | |
tree | 7f8851bf643853330db8bced3cf04e232051a22c /lib | |
parent | ff385ade8355ce6c685bbabd83c550fbb3c58f82 (diff) |
cmu/zwgcplus changes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.in | 2 | ||||
-rw-r--r-- | lib/ZSubs.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in index 8a9cd2d..6823fc3 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -40,7 +40,7 @@ OBJS = zephyr_err.lo ZAsyncLocate.lo ZCkAuth.lo ZCkIfNot.lo ZClosePort.lo \ ZRecvNot.lo ZRecvPkt.lo ZRetSubs.lo ZSendList.lo ZSendNot.lo \ ZSendPkt.lo ZSendRaw.lo ZSendRLst.lo ZSetDest.lo ZSetFD.lo ZSetSrv.lo \ ZSubs.lo ZVariables.lo ZWait4Not.lo Zinternal.lo ZMakeZcode.lo \ - ZReadZcode.lo ZCkZAut.lo quad_cksum.lo charset.lo + ZReadZcode.lo ZCkZAut.lo quad_cksum.lo charset.lo ZExpnRlm.lo .SUFFIXES: .lo diff --git a/lib/ZSubs.c b/lib/ZSubs.c index e8519fe..3a241db 100644 --- a/lib/ZSubs.c +++ b/lib/ZSubs.c @@ -23,6 +23,16 @@ static Code_t Z_Subscriptions(register ZSubscription_t *sublist, static Code_t subscr_sendoff(ZNotice_t *notice, char **lyst, int num, int authit); +#ifdef CMU_ZCTL_PUNT +Code_t +ZPunt(ZSubscription_t *sublist, + int nitems, + unsigned int port) +{ + return (Z_Subscriptions(sublist, nitems, port, "SUPPRESS", 1)); +} +#endif + Code_t ZSubscribeTo(ZSubscription_t *sublist, int nitems, |