X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..13f56ec4e58bf8687e2a68032c093c0213dd519b:/bsd/netat/asp.h?ds=inline diff --git a/bsd/netat/asp.h b/bsd/netat/asp.h index 147f99c69..ab0c32173 100644 --- a/bsd/netat/asp.h +++ b/bsd/netat/asp.h @@ -168,6 +168,9 @@ typedef struct { unsigned short param2; } asp_word_t; +struct asp_scb; +typedef void (*asp_tmo_func)(struct asp_scb *); + /* * ASP session control block */ @@ -202,7 +205,7 @@ typedef struct asp_scb { at_inet_t svc_addr; gbuf_t *sess_ioc; gbuf_t *stat_msg; - void (*tmo_func)(); + asp_tmo_func tmo_func; struct asp_scb *next_tmo; struct asp_scb *prev_tmo; struct asp_scb *sess_scb; @@ -221,6 +224,19 @@ typedef struct asp_scb { atevent_t delay_event; } asp_scb_t; + +int ASPgetmsg(gref_t *, strbuf_t *, strbuf_t *, gbuf_t **, int *, int *); +int ASPputmsg(gref_t *, strbuf_t *, strbuf_t *, gbuf_t *, int , int *); +void asp_init(void); +void asp_ack_reply(gref_t *, gbuf_t *); +void asp_nak_reply(gref_t *, gbuf_t *); +int asp_wput(gref_t *, gbuf_t *); +void asp_clock(void *); +void asp_clock_locked(void *); +int asp_open(gref_t *); +int asp_close(gref_t *); + + #endif /* KERNEL_PRIVATE */ #endif /* __APPLE_API_OBSOLETE */ #endif /* _NETAT_ASP_H_ */