Added session to naming callback

This commit is contained in:
mpc
2004-12-02 23:05:30 +00:00
committed by zzz
parent 61e5f190a6
commit 33bfa94229
5 changed files with 18 additions and 13 deletions

View File

@@ -125,7 +125,8 @@ const char *sam_strerror(samerr_t code);
/* SAM controls - callbacks */
void (*sam_diedback)(sam_sess_t *session);
void (*sam_logback)(char *str);
void (*sam_namingback)(char *name, sam_pubkey_t pubkey, samerr_t result);
void (*sam_namingback)(sam_sess_t *session, char *name,
sam_pubkey_t pubkey, samerr_t result);
/* Stream commands */
void sam_stream_close(sam_sess_t *session, sam_sid_t stream_id);