Re: [PATCH 1/4] icmap: Add function to return global icmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ACK

Reviewed-by: Christine Caulfield <ccaulfie@xxxxxxxxxx>


On 28/08/13 16:36, Jan Friesse wrote:
Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
---
  exec/icmap.c             |    6 ++++++
  include/corosync/icmap.h |    5 +++++
  2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/exec/icmap.c b/exec/icmap.c
index 5c4f86a..2a53415 100644
--- a/exec/icmap.c
+++ b/exec/icmap.c
@@ -263,6 +263,12 @@ void icmap_fini(void)
  	return ;
  }

+icmap_map_t icmap_get_global_map(void)
+{
+
+	return (icmap_global_map);
+}
+
  static int icmap_is_valid_name_char(char c)
  {
  	return ((c >= 'a' && c <= 'z') ||
diff --git a/include/corosync/icmap.h b/include/corosync/icmap.h
index ba1d43f..91dfd59 100644
--- a/include/corosync/icmap.h
+++ b/include/corosync/icmap.h
@@ -147,6 +147,11 @@ extern void icmap_fini(void);
  extern void icmap_fini_r(const icmap_map_t map);

  /*
+ * Return global icmap
+ */
+extern icmap_map_t icmap_get_global_map(void);
+
+/*
   * Store value with value_len length and type as key_name name in global icmap.
   */
  extern cs_error_t icmap_set(


_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux