Commit | Line | Data |
---|---|---|
805e021f CE |
1 | /* |
2 | * Copyright 2000, International Business Machines Corporation and others. | |
3 | * All Rights Reserved. | |
4 | * | |
5 | * This software has been released under the terms of the IBM Public | |
6 | * License. For details, see the LICENSE file in the top-level source | |
7 | * directory or online at http://www.openafs.org/dl/license10.html | |
8 | */ | |
9 | ||
10 | #include <afsconfig.h> | |
11 | #include <afs/param.h> | |
12 | ||
13 | #include <roken.h> | |
14 | ||
15 | #include <rx/rx.h> | |
16 | ||
17 | /* services available on incoming message port */ | |
18 | int | |
19 | SBC_Print(struct rx_call *acall, afs_int32 acode, afs_int32 aflags, | |
20 | char *amessage) | |
21 | { | |
22 | struct rx_connection *tconn; | |
23 | struct rx_peer *tpeer; | |
24 | ||
25 | tconn = rx_ConnectionOf(acall); | |
26 | tpeer = rx_PeerOf(tconn); | |
27 | printf("From %08x: %s <%d>\n", rx_HostOf(tpeer), amessage, acode); | |
28 | return 0; | |
29 | } |