mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-26 13:14:16 +00:00
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:
parent
8ef14f11eb
commit
e26aedf84f
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user