Sierra Toolkit  Version of the Day
product_registry.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2010 Sandia Corporation. */
3 /* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */
4 /* license for use of this work by or on behalf of the U.S. Government. */
5 /* Export of this program may require a license from the */
6 /* United States Government. */
7 /*------------------------------------------------------------------------*/
27 #ifndef STK_UTIL_ENVIRONMENT_PRODUCT_REGISTRY_H
28 #define STK_UTIL_ENVIRONMENT_PRODUCT_REGISTRY_H
29 #include <stddef.h>
30 
31 #if defined(__cplusplus)
32 extern "C" {
33 #endif
34 
43 extern void product_registry_add(const char *name);
44 
59 extern void product_registry_add_tpl(const char *name, const char *version, const char *qualifier);
60 
68 extern size_t product_registry_size();
69 
70 #if defined(__cplusplus)
71 } /* extern "C" */
72 #endif
73 
74 
75 #endif /* STK_UTIL_ENVIRONMENT_PRODUCT_REGISTRY_H */
void product_registry_add(const char *name)
Extern "C" function product_registry_add provides a means for c programs to register a product...
size_t product_registry_size()
Extern "C" function product_registry_size returns the number of products in the registry.
void product_registry_add_tpl(const char *name, const char *version, const char *qualifier)
Extern "C" function product_registry_add_tpl provides a means for c programs to register a tpl...