Microsoft Information Protection (MIP) SDK for C: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C
Loading...
Searching...
No Matches
metadata_dictionary_cc.h File Reference

Contains C API definitions for a metadata dictionary. More...

#include <stdint.h>
#include "mip_cc/common_types_cc.h"
#include "mip_cc/error_cc.h"
#include "mip_cc/mip_macros_cc.h"
#include "mip_cc/result_cc.h"
+ Include dependency graph for metadata_dictionary_cc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mip_cc_metadata_entry
 Metadata entry. More...
 

Typedefs

typedef mip_cc_handlemip_cc_metadata_dictionary
 

Functions

 MIP_CC_API (mip_cc_result) MIP_CC_CreateMetadataDictionary(const mip_cc_metadata_entry *entries
 Create a dictionary of string keys/values.
 
 MIP_CC_API (void) MIP_CC_ReleaseMetadataDictionary(mip_cc_metadata_dictionary dictionary)
 Release resources associated with a dictionary.
 

Variables

const int64_t count
 
const int64_t mip_cc_metadata_dictionarydictionary
 
mip_cc_metadata_entry ** entries
 
const int64_t mip_cc_metadata_dictionary mip_cc_errorerrorInfo
 

Detailed Description

Contains C API definitions for a metadata dictionary.

Definition in file metadata_dictionary_cc.h.

Typedef Documentation

◆ mip_cc_metadata_dictionary

Function Documentation

◆ MIP_CC_API() [1/2]

MIP_CC_API ( mip_cc_result ) const

Create a dictionary of string keys/values.

Get metadata entries that compose a dictionary.

Parameters
entriesArray of metadata entries
countNumber of metadata entries
dictionary[Output] Newly-created dictionary
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
A mip_cc_dictionary must be freed by calling MIP_CC_ReleaseDictionary
Parameters
dictionarySource dictionary
entries[Output] Array of metadata entries, memory owned by mip_cc_dictionary object
count[Output] Number of metadata entries
errorInfo[Output] (Optional) Failure info if operation result is error
Returns
Result code indicating success or failure
Note
The memory for 'entries' is owned by the mip_cc_dictionary object, so it should not be freed independently

◆ MIP_CC_API() [2/2]

MIP_CC_API ( void )

Release resources associated with a dictionary.

Parameters
dictionaryDictionary to be released

Variable Documentation

◆ count

mip_cc_metadata_entry int64_t* count

Definition at line 69 of file metadata_dictionary_cc.h.

◆ dictionary

const int64_t mip_cc_metadata_dictionary* dictionary

Definition at line 70 of file metadata_dictionary_cc.h.

◆ entries

Definition at line 87 of file metadata_dictionary_cc.h.

◆ errorInfo

mip_cc_metadata_entry int64_t mip_cc_error* errorInfo

Definition at line 71 of file metadata_dictionary_cc.h.