| 8 * "mit-copyright.h". |
8 * "mit-copyright.h". |
| 9 */ |
9 */ |
| 10 |
10 |
| 11 #include "internal.h" |
11 #include "internal.h" |
| 12 |
12 |
| 13 Code_t ZIfNotice(notice, from, predicate, args) |
13 Code_t |
| 14 ZNotice_t *notice; |
14 ZIfNotice(ZNotice_t *notice, struct sockaddr_in *from, |
| 15 struct sockaddr_in *from; |
15 int (*predicate) __P((ZNotice_t *, void *)), void *args) |
| 16 int (*predicate) __P((ZNotice_t *, void *)); |
|
| 17 void *args; |
|
| 18 { |
16 { |
| 19 ZNotice_t tmpnotice; |
17 ZNotice_t tmpnotice; |
| 20 Code_t retval; |
18 Code_t retval; |
| 21 char *buffer; |
19 char *buffer; |
| 22 struct _Z_InputQ *qptr; |
20 struct _Z_InputQ *qptr; |