Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_HANDLE_ENTRY Struct Reference

#include <platform.h>

Data Fields

uint32_t signature
 Signature for entry validation.
HANDLE handle
 Handle (Number) of this Handle.
uint32_t handletype
 Type of this Handle (eg HANDLE_TYPE_FILE).
uint32_t count
 Reference Count of the Handle.
uint32_t flags
 Flags for the Handle (eg HANDLE_FLAG_NAMED).
char * name
 The name of the Handle (Optional).
uint32_t hash
 Hash of the Handle name (Only if named).
HANDLE data
 Purpose specific data for the Handle (eg a file handle or a socket handle).
handle_close_proc close
 Procedure to call on final close (Optional).
handle_close_ex_proc closeex
 Function to call on final close (Optional).
handle_duplicate_proc duplicate
 Function to call when duplicating handle (Optional).
HANDLE_ENTRYprev
 Previous entry in Handle table.
HANDLE_ENTRYnext
 Next entry in Handle table.

Field Documentation

◆ signature

uint32_t signature

Signature for entry validation.

◆ handle

HANDLE handle

Handle (Number) of this Handle.

◆ handletype

uint32_t handletype

Type of this Handle (eg HANDLE_TYPE_FILE).

◆ count

uint32_t count

Reference Count of the Handle.

◆ flags

uint32_t flags

Flags for the Handle (eg HANDLE_FLAG_NAMED).

◆ name

char* name

The name of the Handle (Optional).

◆ hash

uint32_t hash

Hash of the Handle name (Only if named).

◆ data

HANDLE data

Purpose specific data for the Handle (eg a file handle or a socket handle).

◆ close

Procedure to call on final close (Optional).

◆ closeex

Function to call on final close (Optional).

◆ duplicate

Function to call when duplicating handle (Optional).

◆ prev

HANDLE_ENTRY* prev

Previous entry in Handle table.

◆ next

HANDLE_ENTRY* next

Next entry in Handle table.


The documentation for this struct was generated from the following file: