- **Milestone**: 4.7.FC --> 5.0


---

** [tickets:#829] osaf: Prevent inclusion of opensaf extension header files 
from applications**

**Status:** unassigned
**Milestone:** 5.0
**Created:** Tue Apr 01, 2014 02:39 PM UTC by Anders Widell
**Last Updated:** Tue Aug 25, 2015 04:08 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

Reply via email to