exacct_common.xh revision 1
1N/A * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 1N/A * Common includes and defines for Sun::Solaris::Exacct. 1N/A/* Exacct related includes. */ 1N/A * On i386 Solaris defines SP, which conflicts with the perl definition of SP 1N/A * We don't need the Solaris one, so get rid of it to avoid warnings. 1N/A/* Perl XS includes. */ 1N/A/* Root of the Exacct namespace. */ 1N/A/* Debugging assertion macros. */ 1N/A * Object stash pointers - caching these speeds up the creation and 1N/A * typechecking of perl objects by removing the need to do a hash lookup. 1N/A * The peculiar variable names are so that typemaps can generate the correct 1N/A * package name using the typemap '$Package' variable as the root of the name. 1N/A/* Populate the stash pointers, provided by Exacct.xs. */ 1N/A * Pointer to part of the hash tree built by define_catalog_constants in 1N/A * Catalog.xs. This is used by catalog_id_str() in Exacct.xs when mapping 1N/A * from a catalog to an id string. 1N/A * Structure for holding an ::Exacct::Object. Different bits of this structure 1N/A * will be populated depending on the type of Object (Item or Group), and on 1N/A * how the Object was created (read from file or by the script). 1N/A * Only the ea_obj part is populated, and that points to an ea_object_t 1N/A * that is used to hold the Item. 1N/A * Items containing embedded Objects 1N/A * If an Item of this type has been read from file and has not been accessed, 1N/A * just the ea_obj part will be populated. If the object has been accessed, or 1N/A * if it has been created from within the script, the perl_obj part will be 1N/A * If a Group has been read from file and has not been accessed, just the 1N/A * ea_obj part will be populated. If the object has been accessed, or if it has 1N/A * been created from within the script, the perl_obj part will be populated. 1N/A/* Macros for manipulating flag bits. */ 1N/A/* Fast way to make catalog objects, provided by Exacct.xs. */ 1N/A/* Return the integer catalog value from the passed object or SV. */ 1N/A/* Fast way to make exacct objects, provided by Exacct.xs. */ 1N/A/* Deflate an xs_ea_object, provided by Exacct.xs. */ 1N/A * Structure and associated function for creating perl constants 1N/A * and populating @_Constants, used for constant lookup by the modules. 1N/A * See Exacct.xs for the definition of define_constants().