unsigned short param2;
} asp_word_t;
+struct asp_scb;
+typedef void (*asp_tmo_func)(struct asp_scb *);
+
/*
* ASP session control block
*/
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;
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_ */