Data Fields
interface Struct Reference

An object interface. More...

#include <interface.h>

Data Fields

struct interfacedest
 Destination object interface.
struct refcntrefcnt
 Reference counter.
struct interface_descriptordesc
 Interface descriptor.
struct interface_descriptororiginal
 Original interface descriptor.

Detailed Description

An object interface.

Definition at line 109 of file interface.h.

Field Documentation

Destination object interface.

When the containing object invokes an operation on this interface, it will be executed by the destination object.

This pointer may never be NULL. When the interface is unplugged, it should point to the null interface.

Definition at line 118 of file interface.h.

Referenced by block_translate(), intf_get_dest_op_no_passthru_untyped(), intf_init(), intf_plug(), intf_shutdown(), and intf_unplug().

Reference counter.

If this interface is not part of a reference-counted object, this field may be NULL.

Definition at line 124 of file interface.h.

Referenced by intf_get(), intf_init(), and intf_put().

Interface descriptor.

Definition at line 126 of file interface.h.

Referenced by intf_get_passthru(), intf_init(), intf_nullify(), and intf_reinit().

Original interface descriptor.

Used by intf_reinit().

Definition at line 131 of file interface.h.

Referenced by intf_init(), and intf_reinit().

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