msgrpc.h #1

  • //
  • guest/
  • alan_petersen/
  • piper/
  • mac/
  • R2.0/
  • Perforce/
  • p4api/
  • Headers/
  • msgrpc.h
  • View
  • Commits
  • Open Download .zip Download (2 KB)
/*
 * Copyright 1995, 2000 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */

/*
 * msgrpc.h - declarations of errors for Rpc subsystem.
 */

class MsgRpc {

    public:
	static ErrorId Stdio;

	static ErrorId TcpAccept;
	static ErrorId TcpConnect;
	static ErrorId TcpHost;
	static ErrorId TcpListen;
	static ErrorId TcpPortInvalid;
	static ErrorId TcpRecv;
	static ErrorId TcpSend;
	static ErrorId TcpService;
	static ErrorId TcpPeerSsl;

	static ErrorId Closed;
	static ErrorId Listen;
	static ErrorId NoPoss;
	static ErrorId NotP4;
	static ErrorId Operat;
	static ErrorId Read;
	static ErrorId Select;
	static ErrorId Reconn;
	static ErrorId TooBig;
	static ErrorId UnReg;
	static ErrorId Unconn;
	static ErrorId Break;
	static ErrorId MaxWait;
	static ErrorId NameResolve;

	static ErrorId SslAccept;
	static ErrorId SslConnect;
	static ErrorId SslListen;
	static ErrorId SslRecv;
	static ErrorId SslSend;
	static ErrorId SslClose;
	static ErrorId SslInvalid;
	static ErrorId SslCtx;
	static ErrorId SslShutdown;
	static ErrorId SslInit;
	static ErrorId SslCleartext;
	static ErrorId SslCertGen;
	static ErrorId SslNoSsl;
	static ErrorId SslBadKeyFile;
	static ErrorId SslGetPubKey;
	static ErrorId SslBadDir;
	static ErrorId SslBadFsSecurity;
	static ErrorId SslDirHasCreds;
	static ErrorId SslCredsBadOwner;
	static ErrorId SslCertBadDates;
	static ErrorId SslNoCredentials;
	static ErrorId SslFailGetExpire;

	static ErrorId HostKeyUnknown;
	static ErrorId HostKeyMismatch;
	static ErrorId ServiceNoTrust;
	static ErrorId SslLibMismatch;

	static ErrorId PxRemoteSvrFail;
	static ErrorId SslCfgExpire;
	static ErrorId SslCfgUnits;
	static ErrorId SslKeyNotRSA;

	static ErrorId WakeupInit;
	static ErrorId WakeupAttempt;
	static ErrorId ZksInit;
	static ErrorId ZksSend;
	static ErrorId ZksRecv;
	static ErrorId ZksDisconnect;
	static ErrorId ZksState;
	static ErrorId ZksNoZK;

	static ErrorId UnixDomainOpen;
	static ErrorId BadP4Port;
	static ErrorId NoHostnameForPort;

	// Retired ErrorIds. We need to keep these so that clients 
	// built with newer apis can communicate with older servers
	// still sending these.
} ;
# Change User Description Committed
#1 15071 alan_petersen Populate -o //guest/perforce_software/piper/...
//guest/alan_petersen/piper/....
//guest/perforce_software/piper/mac/R2.0/Perforce/p4api/Headers/msgrpc.h
#1 13626 alan_petersen Copying using piper_mac_main2r2.0
//guest/perforce_software/piper/mac/main/Perforce/p4api/Headers/msgrpc.h
#1 13625 alan_petersen UPDATE:
- updated p4api to p4api-2015.1.1054991
- included in OpenSSL 1.0.2a ssl and crypto libraries

The benefit of these are that Piper now supports connecting to 15.1 servers, and also supports ssl: connections. Woo hoo!