coroapi.h: Make totem_mcast's *iovec param const.

* include/corosync/engine/coroapi.h (struct corosync_api_v1):
[totem_mcast]: Make *iovec param const.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2049 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Jim Meyering 2009-04-09 20:53:13 +00:00
parent 8ef14f11eb
commit e26aedf84f
3 changed files with 5 additions and 5 deletions

View File

@ -473,7 +473,7 @@ void main_get_config_modules(struct config_iface_ver0 ***modules, int *num)
}
int main_mcast (
struct iovec *iovec,
const struct iovec *iovec,
unsigned int iov_len,
unsigned int guarantee)
{

View File

@ -7,7 +7,7 @@
* Author: Steven Dake (sdake@redhat.com)
*
* This software licensed under BSD license, the text of which follows:
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
@ -56,7 +56,7 @@ extern unsigned long long *(*main_clm_get_by_nodeid) (unsigned int node_id);
extern void main_get_config_modules(struct config_iface_ver0 ***modules, int *num);
extern int main_mcast (
struct iovec *iovec,
const struct iovec *iovec,
unsigned int iov_len,
unsigned int guarantee);

View File

@ -415,8 +415,8 @@ struct corosync_api_v1 {
int (*totem_ring_reenable) (void);
/* FIXME: const iovec? */
int (*totem_mcast) (struct iovec *iovec, unsigned int iov_len, unsigned int guarantee);
int (*totem_mcast) (const struct iovec *iovec,
unsigned int iov_len, unsigned int guarantee);
int (*totem_ifaces_get) (
unsigned int nodeid,