All of lore.kernel.org
 help / color / mirror / Atom feed
From: pcaulfield@sourceware.org <pcaulfield@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman/lib libcman.h
Date: 1 Sep 2006 08:47:41 -0000	[thread overview]
Message-ID: <20060901084741.2659.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield at sourceware.org	2006-09-01 08:47:40

Modified files:
	cman/lib       : libcman.h 

Log message:
	Rename 'private' to 'privdata' so it doesn't upset C++

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/lib/libcman.h.diff?cvsroot=cluster&r1=1.27&r2=1.28

--- cluster/cman/lib/libcman.h	2006/08/17 13:22:39	1.27
+++ cluster/cman/lib/libcman.h	2006/09/01 08:47:40	1.28
@@ -174,14 +174,14 @@
  */
 
 /* Callback routine for a membership event */
-typedef void (*cman_callback_t)(cman_handle_t handle, void *private, int reason, int arg);
+typedef void (*cman_callback_t)(cman_handle_t handle, void *privdata, int reason, int arg);
 
 /* Callback routine for data received */
-typedef void (*cman_datacallback_t)(cman_handle_t handle, void *private,
+typedef void (*cman_datacallback_t)(cman_handle_t handle, void *privdata,
 				    char *buf, int len, uint8_t port, int nodeid);
 
 
-typedef void (*cman_confchgcallback_t)(cman_handle_t handle, void *private,
+typedef void (*cman_confchgcallback_t)(cman_handle_t handle, void *privdata,
 				       unsigned int *member_list, int member_list_entries,
 				       unsigned int *left_list, int left_list_entries,
 				       unsigned int *joined_list, int joined_list_entries);
@@ -193,13 +193,13 @@
  *
  * Note that admin sockets can't send data messages or receive callbacks.
  */
-cman_handle_t cman_init(void *private);
-cman_handle_t cman_admin_init(void *private);
+cman_handle_t cman_init(void *privdata);
+cman_handle_t cman_admin_init(void *privdata);
 int cman_finish(cman_handle_t handle);
 
 /* Update/retrieve the private data */
-int cman_set_private(cman_handle_t *h, void *private);
-int cman_get_private(cman_handle_t *h, void **private);
+int cman_set_private(cman_handle_t *h, void *privdata);
+int cman_get_private(cman_handle_t *h, void **privdata);
 
 /*
  * Notification of membership change events. Note that these are sent after



             reply	other threads:[~2006-09-01  8:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-01  8:47 pcaulfield [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-11 10:48 [Cluster-devel] cluster/cman/lib libcman.h pcaulfield
2007-08-28 13:30 pcaulfield
2007-08-22  7:09 pcaulfield
2006-09-01  8:37 pcaulfield
2006-09-01  8:36 pcaulfield
2006-06-20 15:27 pcaulfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060901084741.2659.qmail@sourceware.org \
    --to=pcaulfield@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.