1
/*********************************************************
2
* Copyright (C) 2007 VMware, Inc. All rights reserved.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation version 2 and no later version.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13
* You should have received a copy of the GNU General Public License along
14
* with this program; if not, write to the Free Software Foundation, Inc.,
15
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
*********************************************************/
20
* vmciQueuePairInt.h --
22
* Helper function declarations for VMCI QueuePair API.
25
#ifndef _VMCI_QUEUE_PAIR_INT_H_
26
#define _VMCI_QUEUE_PAIR_INT_H_
28
#include "vmci_defs.h"
29
#include "vmciQueue.h"
31
void VMCIQueuePair_Init(void);
32
void VMCIQueuePair_Exit(void);
33
int VMCIQueuePair_Alloc(VMCIHandle *handle, VMCIQueue **produceQ,
34
uint64 produceSize, VMCIQueue **consumeQ,
35
uint64 consumeSize, VMCIId peer, uint32 flags);
36
int VMCIQueuePair_AllocPriv(VMCIHandle *handle, VMCIQueue **produceQ,
37
uint64 produceSize, VMCIQueue **consumeQ,
38
uint64 consumeSize, VMCIId peer, uint32 flags,
39
VMCIPrivilegeFlags privFlags);
40
int VMCIQueuePair_Detach(VMCIHandle handle);
43
#endif /* !_VMCI_QUEUE_PAIR_INT_H_ */