117ca54c3Smrg/* $Xorg: PM.h,v 1.4 2001/02/09 02:05:34 xorgcvs Exp $ */
217ca54c3Smrg
317ca54c3Smrg/*
417ca54c3SmrgCopyright 1996, 1998  The Open Group
517ca54c3Smrg
617ca54c3SmrgPermission to use, copy, modify, distribute, and sell this software and its
717ca54c3Smrgdocumentation for any purpose is hereby granted without fee, provided that
817ca54c3Smrgthe above copyright notice appear in all copies and that both that
917ca54c3Smrgcopyright notice and this permission notice appear in supporting
1017ca54c3Smrgdocumentation.
1117ca54c3Smrg
1217ca54c3SmrgThe above copyright notice and this permission notice shall be included
1317ca54c3Smrgin all copies or substantial portions of the Software.
1417ca54c3Smrg
1517ca54c3SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1617ca54c3SmrgOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1717ca54c3SmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1817ca54c3SmrgIN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
1917ca54c3SmrgOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
2017ca54c3SmrgARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2117ca54c3SmrgOTHER DEALINGS IN THE SOFTWARE.
2217ca54c3Smrg
2317ca54c3SmrgExcept as contained in this notice, the name of The Open Group shall
2417ca54c3Smrgnot be used in advertising or otherwise to promote the sale, use or
2517ca54c3Smrgother dealings in this Software without prior written authorization
2617ca54c3Smrgfrom The Open Group.
2717ca54c3Smrg*/
2817ca54c3Smrg
2917ca54c3Smrg/*		Proxy Management Protocol		*/
3017ca54c3Smrg
3117ca54c3Smrg#ifndef _PM_H_
3217ca54c3Smrg#define _PM_H_
3317ca54c3Smrg
3417ca54c3Smrg#define PM_PROTOCOL_NAME "PROXY_MANAGEMENT"
3517ca54c3Smrg
3617ca54c3Smrg#define PM_MAJOR_VERSION 1
3717ca54c3Smrg#define PM_MINOR_VERSION 0
3817ca54c3Smrg
3917ca54c3Smrg/*
4017ca54c3Smrg * PM minor opcodes
4117ca54c3Smrg */
4217ca54c3Smrg#define PM_Error		ICE_Error /* == 0 */
4317ca54c3Smrg#define PM_GetProxyAddr		1
4417ca54c3Smrg#define PM_GetProxyAddrReply	2
4517ca54c3Smrg#define PM_StartProxy		3
4617ca54c3Smrg
4717ca54c3Smrg/*
4817ca54c3Smrg * status return codes for GetProxyAddrReply
4917ca54c3Smrg */
5017ca54c3Smrg#define		   PM_Unable	0
5117ca54c3Smrg#define		   PM_Success	1
5217ca54c3Smrg#define            PM_Failure	2
5317ca54c3Smrg
5417ca54c3Smrg#endif /* _PM_H_ */
55