Wed Apr 6 11:30:13 2011

Asterisk developer's documentation


ast_srtp_res Struct Reference

#include <res_srtp.h>


Data Fields

int(* add_stream )(struct ast_srtp *srtp, struct ast_srtp_policy *policy)
int(* change_source )(struct ast_srtp *srtp, unsigned int from_ssrc, unsigned int to_ssrc)
int(* create )(struct ast_srtp **srtp, struct ast_rtp_instance *rtp, struct ast_srtp_policy *policy)
void(* destroy )(struct ast_srtp *srtp)
int(* get_random )(unsigned char *key, size_t len)
int(* protect )(struct ast_srtp *srtp, void **buf, int *size, int rtcp)
void(* set_cb )(struct ast_srtp *srtp, const struct ast_srtp_cb *cb, void *data)
int(* unprotect )(struct ast_srtp *srtp, void *buf, int *size, int rtcp)


Detailed Description

Definition at line 32 of file res_srtp.h.


Field Documentation

int(* add_stream)(struct ast_srtp *srtp, struct ast_srtp_policy *policy)

Referenced by ast_rtp_instance_add_srtp_policy().

int(* change_source)(struct ast_srtp *srtp, unsigned int from_ssrc, unsigned int to_ssrc)

Referenced by ast_rtp_change_source().

int(* create)(struct ast_srtp **srtp, struct ast_rtp_instance *rtp, struct ast_srtp_policy *policy)

Referenced by ast_rtp_instance_add_srtp_policy().

void(* destroy)(struct ast_srtp *srtp)

Referenced by instance_destructor().

int(* get_random)(unsigned char *key, size_t len)

int(* protect)(struct ast_srtp *srtp, void **buf, int *size, int rtcp)

Referenced by __rtp_sendto().

void(* set_cb)(struct ast_srtp *srtp, const struct ast_srtp_cb *cb, void *data)

int(* unprotect)(struct ast_srtp *srtp, void *buf, int *size, int rtcp)

Referenced by __rtp_recvfrom().


The documentation for this struct was generated from the following file:
Generated on Wed Apr 6 11:30:13 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7