ack, code review only/Thanks HansN On 01/25/2016 05:35 AM, Gary Lee wrote: > osaf/libs/common/amf/include/amf_util.h | 1 - > osaf/libs/common/amf/util.c | 17 ----------------- > 2 files changed, 0 insertions(+), 18 deletions(-) > > > this is only used in amfd > > diff --git a/osaf/libs/common/amf/include/amf_util.h > b/osaf/libs/common/amf/include/amf_util.h > --- a/osaf/libs/common/amf/include/amf_util.h > +++ b/osaf/libs/common/amf/include/amf_util.h > @@ -81,7 +81,6 @@ > > extern void avsv_create_association_class_dn(const SaNameT *child_dn, const > SaNameT *parent_dn, > const char *rdn_tag, SaNameT *dn); > -extern void avsv_sanamet_init(const SaNameT *haystack, SaNameT *dn, const > char *needle); > > extern AVSV_COMP_TYPE_VAL > avsv_amfcompcategory_to_avsvcomptype(SaAmfCompCategoryT saf_comp_category); > > diff --git a/osaf/libs/common/amf/util.c b/osaf/libs/common/amf/util.c > --- a/osaf/libs/common/amf/util.c > +++ b/osaf/libs/common/amf/util.c > @@ -340,23 +340,6 @@ > } > > /** > - * Initialize a DN by searching for needle in haystack > - * @param haystack > - * @param dn > - * @param needle > - */ > -void avsv_sanamet_init(const SaNameT *haystack, SaNameT *dn, const char > *needle) > -{ > - char *p; > - > - memset(dn, 0, sizeof(SaNameT)); > - p = strstr((char*)haystack->value, needle); > - osafassert(p); > - dn->length = strlen(p); > - memcpy(dn->value, p, dn->length); > -} > - > -/** > * Convert a SAF AMF Component category bit field to a AVSV Comp type value. > * @param saf_comp_category > *
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel