pub fn new(context: &Krb5Context) -> Result<Krb5CCCol, Krb5Error> {
    let mut cursor_ptr: MaybeUninit<krb5_cccol_cursor> = MaybeUninit::zeroed();

    let code: krb5_error_code = unsafe { krb5_cccol_cursor_new(context.context, cursor_ptr.as_mut_ptr()) };

    krb5_error_code_escape_hatch(context, code)?;

    let cursor = Krb5CCCol {
      context: &context,
      cursor: unsafe { cursor_ptr.assume_init() },
    };

    Ok(cursor)
  }
/**
   * Initialize a credential cache collection.
   *
   * Creates krb5 credential cache collection cursor that can be iterated over later.
   * [krb5_cccol_cursor_new](https://web.mit.edu/kerberos/krb5-1.16/doc/appdev/refs/api/krb5_cccol_cursor_new.html)
   */
Initialize a credential cache collection.
Creates krb5 credential cache collection cursor that can be iterated over later.
Initialize a credential cache collection . Creates krb5 credential cache collection cursor that can be iterated over later .
pub fn new(context: &Krb5Context) -> Result<Krb5CCCol, Krb5Error> {
    let mut cursor_ptr: MaybeUninit<krb5_cccol_cursor> = MaybeUninit::zeroed();
    let code: krb5_error_code = unsafe { krb5_cccol_cursor_new(context.context, cursor_ptr.as_mut_ptr()) };
    krb5_error_code_escape_hatch(context, code)?;
    let cursor = Krb5CCCol {
      context: &context,
      cursor: unsafe { cursor_ptr.assume_init() },
    };
    Ok(cursor)
  }
pub fn new ( context : & Krb5Context ) -> Result < Krb5CCCol , Krb5Error > { let mut cursor_ptr : MaybeUninit < krb5_cccol_cursor > = MaybeUninit :: zeroed ( ) ; let code : krb5_error_code = unsafe { krb5_cccol_cursor_new ( context . context , cursor_ptr . as_mut_ptr ( ) ) } ; krb5_error_code_escape_hatch ( context , code ) ? ; let cursor = Krb5CCCol { context : & context , cursor : unsafe { cursor_ptr . assume_init ( ) } , } ; Ok ( cursor ) }
Initialize a credential cache collection.
Initialize a credential cache collection .
context
&Krb5Context