Up: Long Data Operation Extension Types   [Contents][Index]


8.5.1 struct blonde_breach_type

typedef struct blonde_breach_type {
    int (*edcr)(void *, void **, unsigned),
	(*edfr)(void *, void **, unsigned),
	(*edgr)(void *, void **, void **, unsigned *);
    void *data;
} blonde_breach_type;

The record describes the long user data operation methods observed by certain library interfaces.

See Long Data Operation Extension.

Data here is a stored string, a pointer to it indicates the actual key string.

data

pointer passed as the first argument to any of the methods

edcr

the long data disposal method. It is meant to kill the $3 bytes long data corresponding the ID read from the address indicated by $2.

edfr

the long data creation method. It is meant to store the ID of the created $3 bytes long data, at the address indicated by $2. The least significant two bits of the ID are set.

edgr

the long data retrieval method. It is meant to produce the long data corresponding the ID read from the address indicated by $2 and store a pointer to it at the address indicated by $3 and its actual size at $4.

All methods are taken to return 0 for success, non zero for failure.