- **Milestone**: 4.5.FC --> 4.6.FC
---
** [tickets:#829] osaf: Prevent inclusion of opensaf extension header files
from applications**
**Status:** unassigned
**Milestone:** 4.6.FC
**Created:** Tue Apr 01, 2014 02:39 PM UTC by Anders Widell
**Last Updated:** Tue Apr 01, 2014 02:39 PM UTC
**Owner:** nobody
OpenSAF has a few SAF API extensions, that are currently defined in the
following new header files:
saCkpt_B_02_03.h
saImmOm_A_2_11.h
saImmOm_A_2_12.h
saImmOm_A_2_13.h
The application programs are not supposed to include these files directly. In
order to prevent accidental inclusion of these header files, the suggesion is
to add a guard a the top of these files, that e.g. for CKPT would look
something like this:
#if defined(_SA_CKPT_B_02_03_H) || !defined(_SA_CKPT_H)
#error "Don't include saCkpt_B_02_03.h directly - include saCkpt.h instead"
#endif
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets