Remove const from delivery callback to allow inplace endian changes of

message contents.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2150 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2009-04-26 02:38:46 +00:00
parent bba93f5402
commit d72f0cc03c
7 changed files with 7 additions and 7 deletions

View File

@ -88,7 +88,7 @@ typedef void (*cpg_deliver_fn_t) (
const struct cpg_name *group_name,
uint32_t nodeid,
uint32_t pid,
const void *msg,
void *msg,
size_t msg_len);
typedef void (*cpg_confchg_fn_t) (

View File

@ -85,7 +85,7 @@ static void cpg_bm_deliver_fn (
const struct cpg_name *group_name,
uint32_t nodeid,
uint32_t pid,
const void *msg,
void *msg,
size_t msg_len)
{
write_count++;

View File

@ -85,7 +85,7 @@ static void cpg_bm_deliver_fn (
const struct cpg_name *group_name,
uint32_t nodeid,
uint32_t pid,
const void *msg,
void *msg,
size_t msg_len)
{
write_count++;

View File

@ -67,7 +67,7 @@ static void DeliverCallback (
const struct cpg_name *groupName,
uint32_t nodeid,
uint32_t pid,
const void *msg,
void *msg,
size_t msg_len)
{
if (show_ip) {

View File

@ -48,7 +48,7 @@ static void deliver(
const struct cpg_name *group_name,
uint32_t nodeid,
uint32_t pid,
const void *msg,
void *msg,
size_t msg_len)
{
printf("self delivered nodeid: %x\n", nodeid);

View File

@ -67,7 +67,7 @@ static void DeliverCallback (
const struct cpg_name *groupName,
uint32_t nodeid,
uint32_t pid,
const void *msg,
void *msg,
size_t msg_len)
{
if (show_ip) {

View File

@ -67,7 +67,7 @@ static void DeliverCallback (
const struct cpg_name *groupName,
uint32_t nodeid,
uint32_t pid,
const void *msg,
void *msg,
size_t msg_len)
{
if (show_ip) {