Yes.

Regards,
Sirisha

On Friday 31 January 2014 03:19 PM, Zoran Milinkovic wrote:
What's line 6030 in your build ?

Is it this line ?
bool isNoDanglingSearch = searchOptions & SA_IMM_SEARCH_NO_DANGLING_DEPENDENTS;

BR,
Zoran

From: Anders Bjornerstedt [mailto:[email protected]]
Sent: den 31 januari 2014 09:57
To: [opensaf:tickets]
Subject: [opensaf:tickets] #50 IMM: Add possibility to efficiently find all 
NO_DANGLING references to an object


This fix appears to be causing a build problem for 32 bit.

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../.. -DIMMA_OM 
-I../../../../../osaf/libs/saf/include -I../../../../../osaf/libs/core/include 
-I../../../../../osaf/libs/core/leap/include -I../../../../../osaf/libs/core/mds/include 
-I../../../../../osaf/libs/core/common/include 
-I../../../../../osaf/libs/common/immsv/include -g -Wall -fno-strict-aliasing -Werror 
-fPIC -D_FORTIFY_SOURCE=2 -fstack-protector -DINTERNAL_VERSION_ID=\"\" -O2 -g 
-m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector 
-funwind-tables -fasynchronous-unwind-tables -MT libimmaOm_la-imma_om_api.lo -MD -MP -MF 
.deps/libimmaOm_la-imma_om_api.Tpo -c imma_om_api.c -fPIC -DPIC -o 
.libs/libimmaOm_la-imma_om_api.o
cc1: warnings being treated as errors
imma_om_api.c: In function 'saImmOmSearchInitialize_2':
imma_om_api.c:6030: error: integer constant is too large for 'long' type

________________________________

[tickets:#50]<http://sourceforge.net/p/opensaf/tickets/50/> IMM: Add 
possibility to efficiently find all NO_DANGLING references to an object

Status: accepted
Created: Wed May 08, 2013 07:55 AM UTC by Anders Bjornerstedt
Last Updated: Wed Dec 18, 2013 03:23 PM UTC
Owner: Zoran Milinkovic

Migrated from:
http://devel.opensaf.org/ticket/3123

This is related to enhancement #49 
(https://sourceforge.net/p/opensaf/tickets/49)

Add support for a way to use the IMM object search API, to find all objects
that contain at least one NO_DANGLING reference, pointing at a specified target
object. The search API saImmOmSearchInitialize_2 is defined in section
4.5.1 of the IMM A.02.01 specification.

Such a search will be created by filling in the arguments of
saImmOmSearchInitialize_2 in the following way:

1) The searchOptions parameter must set a new search-criteria flag:

   #define SA_IMM_SEARCH_NO_DANGLING_DEPENDENTS  0x0000000100000000

This flag indicates that the intention of the search is to find all objects
that have any NO_DANGLING reference pointing to a particular target object.
The target object must of course be a currently existing imm object.
Attribute-options (such as SA_IMM_SEARCH_GET_NO_ATTR) may also be or-ed to the
searchOptions argument in the normal way, to avoid fetching not needed data.

2) The target object is identified in the searchParam parameter as follows:

a) attrName must be set to NULL.
b) attrValue must be the DN of an object.
c) attrValueType may be either SA_IMM_ATTR_SANAMET or SA_IMM_ATTR_SASTRINGT.

The value must of course be the DN of a currently existing object. The use of
SaStringT is allowed here to accommodate future enhancements that replace the
use of SaNameT with SaStringT.

This makes it possible to find all objects that are no-dangling dependent
on the target. Only NO_DANGLING references will be returned because only such
references can efficiently be located for any given object DN as target.

The return result is an iteration, as usual, where each searchNext returns an
object that contains one or more NO_DANGLING flagged references pointing to the
target. The reference attributes may be included (along with other attributes!)
or not depending on the search options setting, e.g. SA_IMM_SEARCH_GET_ALL_ATTR.

________________________________

Sent from sourceforge.net because you indicated interest in 
https://sourceforge.net/p/opensaf/tickets/50/

To unsubscribe from further messages, please visit 
https://sourceforge.net/auth/subscriptions/



---

** [tickets:#50] IMM: Add possibility to efficiently find all NO_DANGLING 
references to an object**

**Status:** accepted
**Created:** Wed May 08, 2013 07:55 AM UTC by Anders Bjornerstedt
**Last Updated:** Fri Jan 31, 2014 08:56 AM UTC
**Owner:** Zoran Milinkovic

Migrated from:
http://devel.opensaf.org/ticket/3123

This is related to enhancement #49 
(https://sourceforge.net/p/opensaf/tickets/49)

Add support for a way to use the IMM object search API, to find all objects
that contain at least one NO_DANGLING reference, pointing at a specified target
object. The search API saImmOmSearchInitialize_2 is defined in section
4.5.1 of the IMM A.02.01 specification.

Such a search will be created by filling in the arguments of
saImmOmSearchInitialize_2 in the following way:

  1) The searchOptions parameter must set a new search-criteria flag:

       #define SA_IMM_SEARCH_NO_DANGLING_DEPENDENTS  0x0000000100000000

This flag indicates that the intention of the search is to find all objects
that have any NO_DANGLING reference pointing to a particular target object.
The target object must of course be a currently existing imm object.
Attribute-options (such as SA_IMM_SEARCH_GET_NO_ATTR) may also be or-ed to the
searchOptions argument in the normal way, to avoid fetching not needed data.

2) The target object is identified in the searchParam parameter as follows:

a) attrName must be set to NULL.
b) attrValue must be the DN of an object.
c) attrValueType may be *either* SA_IMM_ATTR_SANAMET or SA_IMM_ATTR_SASTRINGT.

The value must of course be the DN of a currently existing object. The use of
SaStringT is allowed here to accommodate future enhancements that replace the
use of SaNameT with SaStringT.

This makes it possible to find all objects that are no-dangling dependent
on the target. Only NO_DANGLING references will be returned because only such
references can efficiently be located for any given object DN as target.

The return result is an iteration, as usual, where each searchNext returns an
object that contains one or more NO_DANGLING flagged references pointing to the
target. The reference attributes may be included (along with other attributes!)
or not depending on the search options setting, e.g. SA_IMM_SEARCH_GET_ALL_ATTR.





---

Sent from sourceforge.net because [email protected] is 
subscribed to http://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
http://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk


_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to