Ack

Thanks
-Nagu

> -----Original Message-----
> From: Gary Lee [mailto:gary....@dektech.com.au]
> Sent: 13 June 2014 11:19
> To: hans.fe...@ericsson.com; hans.nordeb...@ericsson.com; Nagendra
> Kumar; Praveen Malviya
> Cc: opensaf-devel@lists.sourceforge.net
> Subject: [PATCH 2 of 3] amfd: Move sirankedsu declarations to its own header
> file [#713]
> 
>  osaf/services/saf/amf/amfd/include/si.h         |   7 +------
>  osaf/services/saf/amf/amfd/include/sirankedsu.h |  25
> +++++++++++++++++++++++++
>  2 files changed, 26 insertions(+), 6 deletions(-)
> 
> 
> diff --git a/osaf/services/saf/amf/amfd/include/si.h
> b/osaf/services/saf/amf/amfd/include/si.h
> --- a/osaf/services/saf/amf/amfd/include/si.h
> +++ b/osaf/services/saf/amf/amfd/include/si.h
> @@ -42,6 +42,7 @@
>  #include <sg.h>
>  #include <svctype.h>
>  #include <svctypecstype.h>
> +#include <sirankedsu.h>
>  #include <amf_defs.h>
>  #include <ckpt_msg.h>
>  #include <vector>
> @@ -59,12 +60,6 @@ typedef enum {
>       AVD_SI_DEP_MAX_STATE
>  } AVD_SI_DEP_STATE;
> 
> -typedef struct avd_sirankedsu {
> -     SaNameT suname;
> -     uint32_t saAmfRank;
> -     struct avd_sirankedsu *next;
> -} avd_sirankedsu_t;
> -
>  /* Availability directors Service Instance structure(AVD_SI):
>   * This data structure lives in the AvD and reflects data points
>   * associated with the Service Instance (SI) on the AvD.
> diff --git a/osaf/services/saf/amf/amfd/include/sirankedsu.h
> b/osaf/services/saf/amf/amfd/include/sirankedsu.h
> new file mode 100644
> --- /dev/null
> +++ b/osaf/services/saf/amf/amfd/include/sirankedsu.h
> @@ -0,0 +1,25 @@
> +/*      -*- OpenSAF  -*-
> + *
> + * (C) Copyright 2014 The OpenSAF Foundation
> + *
> + * This program is distributed in the hope that it will be useful, but
> + * WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY
> + * or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed
> + * under the GNU Lesser General Public License Version 2.1, February 1999.
> + * The complete license can be accessed from the following location:
> + * http://opensource.org/licenses/lgpl-license.php
> + * See the Copying file included with the OpenSAF distribution for full
> + * licensing terms.
> + *
> + */
> +
> +#ifndef SIRANKEDSU_H
> +#define SIRANKEDSU_H
> +
> +typedef struct avd_sirankedsu {
> +     SaNameT suname;
> +     uint32_t saAmfRank;
> +     struct avd_sirankedsu *next;
> +} avd_sirankedsu_t;
> +
> +#endif

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to