32 lines
796 B
C
32 lines
796 B
C
/* @(#)attr_impl.h 1.1 94/10/31 SMI */
|
|
|
|
/*
|
|
* Copyright (c) 1986 by Sun Microsystems, Inc.
|
|
*/
|
|
|
|
#ifndef attr_impl_DEFINED
|
|
#define attr_impl_DEFINED
|
|
|
|
#include <sys/types.h>
|
|
#include <varargs.h>
|
|
#include <sunwindow/attr.h>
|
|
|
|
/* NON_PORTABLE means that the var-args list is treated
|
|
* as an avlist. This is known to work for Sun1/2/3/rise.
|
|
* If the implementation of varargs.h does not have va_arg()
|
|
* equivalent to an array access (e.g. *avlist++), then
|
|
* NON_PORTABLE should NOT be defined.
|
|
*/
|
|
#define NON_PORTABLE
|
|
|
|
/* size of an attribute */
|
|
#define ATTR_SIZE (sizeof(caddr_t))
|
|
|
|
/* package private routines */
|
|
extern Attr_avlist attr_copy_avlist();
|
|
extern void attr_check_pkg();
|
|
extern int attr_count_avlist();
|
|
extern Attr_avlist attr_copy_valist();
|
|
|
|
#endif not attr_impl_DEFINED
|