# API Reference

## API Index

### K

P11KitIter, typedef in Future
P11KitPin, typedef in PIN Callbacks
P11KitPinFlags, enum in PIN Callbacks
P11KitUri, typedef in URIs
P11KitUriResult, enum in URIs
P11KitUriType, enum in URIs
p11_kit_be_loud, function in Future
p11_kit_be_quiet, function in Future
p11_kit_destroyer, user_function in Future
p11_kit_finalize_module, function in Modules
p11_kit_finalize_registered, function in Modules
p11_kit_initialize_module, function in Modules
p11_kit_initialize_registered, function in Modules
p11_kit_iter_add_callback, function in Future
p11_kit_iter_add_filter, function in Future
p11_kit_iter_begin, function in Future
p11_kit_iter_begin_with, function in Future
p11_kit_iter_callback, user_function in Future
p11_kit_iter_free, function in Future
p11_kit_iter_get_module, function in Future
p11_kit_iter_get_object, function in Future
p11_kit_iter_get_session, function in Future
p11_kit_iter_get_slot, function in Future
p11_kit_iter_keep_session, function in Future
p11_kit_iter_load_attributes, function in Future
p11_kit_iter_new, function in Future
p11_kit_iter_next, function in Future
p11_kit_iter_set_session_flags, function in Future
p11_kit_load_initialize_module, function in Modules
p11_kit_message, function in Future
p11_kit_pin_callback, user_function in PIN Callbacks
p11_kit_pin_destroy_func, user_function in PIN Callbacks
P11_KIT_PIN_FALLBACK, macro in PIN Callbacks
p11_kit_pin_file_callback, function in PIN Callbacks
p11_kit_pin_get_length, function in PIN Callbacks
p11_kit_pin_get_value, function in PIN Callbacks
p11_kit_pin_new, function in PIN Callbacks
p11_kit_pin_new_for_buffer, function in PIN Callbacks
p11_kit_pin_new_for_string, function in PIN Callbacks
p11_kit_pin_ref, function in PIN Callbacks
p11_kit_pin_register_callback, function in PIN Callbacks
p11_kit_pin_request, function in PIN Callbacks
p11_kit_pin_unref, function in PIN Callbacks
p11_kit_pin_unregister_callback, function in PIN Callbacks
p11_kit_registered_modules, function in Modules
p11_kit_registered_module_to_name, function in Modules
p11_kit_registered_name_to_module, function in Modules
p11_kit_registered_option, function in Modules
p11_kit_set_progname, function in Future
p11_kit_space_strdup, function in Utilities
p11_kit_space_strlen, function in Utilities
p11_kit_strerror, function in Utilities
p11_kit_uri_any_unrecognized, function in URIs
p11_kit_uri_clear_attribute, function in URIs
p11_kit_uri_clear_attributes, function in URIs
p11_kit_uri_format, function in URIs
p11_kit_uri_free, function in URIs
p11_kit_uri_get_attribute, function in URIs
p11_kit_uri_get_attributes, function in URIs
p11_kit_uri_get_module_info, function in URIs
p11_kit_uri_get_pinfile, function in URIs
p11_kit_uri_get_pin_source, function in URIs
p11_kit_uri_get_token_info, function in URIs
p11_kit_uri_match_attributes, function in URIs
p11_kit_uri_match_module_info, function in URIs
p11_kit_uri_match_token_info, function in URIs
p11_kit_uri_message, function in URIs
p11_kit_uri_new, function in URIs
P11_KIT_URI_NO_MEMORY, macro in URIs
p11_kit_uri_parse, function in URIs
P11_KIT_URI_SCHEME, macro in URIs
P11_KIT_URI_SCHEME_LEN, macro in URIs
p11_kit_uri_set_attribute, function in URIs
p11_kit_uri_set_attributes, function in URIs
p11_kit_uri_set_pinfile, function in URIs
p11_kit_uri_set_pin_source, function in URIs
p11_kit_uri_set_unrecognized, function in URIs

## Annotation Glossary

### A

allow-none

  NULL is ok, both for passing and for returning.

array

  Parameter points to an array of items.

### E

element-type

  Generics and defining elements of containers and arrays.

### I

inout

  Parameter for input and for returning results. Default is transfer full.

### O

out

  Parameter for returning results. Default is transfer full.

### T

transfer full

  Free data after the code is done.

type

  Override the parsed C type with given type

transfer none

  Don't free data after the code is done.