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:37:11 -0000 [thread overview]
Message-ID: <20060901083711.31467.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: STABLE
Changes by: pcaulfield at sourceware.org 2006-09-01 08:37:10
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&only_with_tag=STABLE&r1=1.2.6.1.2.5&r2=1.2.6.1.2.6
--- cluster/cman/lib/libcman.h 2006/04/26 08:55:26 1.2.6.1.2.5
+++ cluster/cman/lib/libcman.h 2006/09/01 08:37:10 1.2.6.1.2.6
@@ -81,22 +81,22 @@
} cman_cluster_t;
/* 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);
/* cman_init returns the handle you need to pass to the other API calls,
cman_finish destroys that handle
*/
-cman_handle_t cman_init(void *private);
+cman_handle_t cman_init(void *privdata);
int cman_finish(cman_handle_t handle);
/* Update/retrieve 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
a transition so multiple nodes may have left the cluster (but a maximum of
next reply other threads:[~2006-09-01 8:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-01 8:37 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:47 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=20060901083711.31467.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.