X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=secnet.git;a=blobdiff_plain;f=secnet.h;h=fbb7660da685e8721aac0a56a4e017845ffd69f5;hp=809b3a75eb608af6c25cfbe8694aa1cd05fe5051;hb=2562e34be95e38d860460a18fa6602e51051d4e8;hpb=a15faeb2b12e9cc0e3d1352cf4c233fc61c51c1c diff --git a/secnet.h b/secnet.h index 809b3a7..fbb7660 100644 --- a/secnet.h +++ b/secnet.h @@ -325,6 +325,9 @@ typedef void comm_release_notify_fn(void *commst, void *nst, comm_notify_fn *fn); typedef bool_t comm_sendmsg_fn(void *commst, struct buffer_if *buf, const struct comm_addr *dest); +typedef const char *comm_addr_to_string_fn(void *commst, + const struct comm_addr *ca); + /* Returned string is in a static buffer. */ struct comm_if { void *st; int32_t min_start_pad; @@ -332,6 +335,7 @@ struct comm_if { comm_request_notify_fn *request_notify; comm_release_notify_fn *release_notify; comm_sendmsg_fn *sendmsg; + comm_addr_to_string_fn *addr_to_string; }; /* LOG interface */