Logo Search packages:      
Sourcecode: srtp version File versions  Download package

err_status_t srtp_init ( void   ) 

srtp_init() initializes the srtp library.

This function must be called before any other srtp functions.

Definition at line 1089 of file srtp.c.

References err_status_ok.

  err_status_t status;

  /* initialize crypto kernel */
  status = crypto_kernel_init();
  if (status) 
    return status;

  /* load srtp debug module into the kernel */
  status = crypto_kernel_load_debug_module(&mod_srtp);
  if (status)
    return status;

  return err_status_ok;

Generated by  Doxygen 1.6.0   Back to index