Previous Next Up Title Contents Index Functions Index Top Library

APPLICATION DATA

PAPPL_DATA


CALL SEQUENCE

void pappl_data(
)

TYPES

typedef struct {
	size_t	size;	/* size of data 	*/
	void	*data;	/* pointer to data 	*/
} Pdata ;

PHIGS STATE

(PHOP, *, STOP, *).

EFFECT

APPLICATION DATA stores data specific to the application in the open structure.

An APPLICATION DATA element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on edit mode. Element pointer then points to the APPLICATION DATA element. The value specified by data is associated with the element.

This type of element is not interpreted during traversal.

EXTENSION TO THE PHIGS STANDARD

If GPHIGS is in NRS mode, the effect of this function is different from the effect described in the standard.

In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened.

ERRORS

5
Ignoring function, function requires state (PHOP,*, STOP,*)

SEE ALSO

open structure, open pipe (ext), inquire current element content, inquire current element type and size


Previous Next Up Title Contents Index Functions Index Top Library