Definitions

The KVM custom transport library API includes the following definitions:

LENGTH_URL

This value is used to define the maximum length of a URL in the ConnectionData structure.

#define LENGTH_URL 256

LENGTH_USER_NAME

This value is used to define the maximum length of a user name in the ConnectionData structure.

#define LENGTH_USER_NAME 256

LENGTH_PWD

This value is used to define the maximum length of a password in the ConnectionData structure.

#define LENGTH_PWD 256

LENGTH_DOMAIN

This value is used to define the maximum length of a domain name in the ConnectionData structure.

#define LENGTH_DOMAIN 256

ConnectionDataType

Enumeration used to define the user specification in the header parameter of the ConnectionData structure.

typedef enum

{

    /*basic connection data option*/

    ConnectionData_Basic                = 0,

    /*

    /*connection data has explicit Kerberos support (incl.

      domain field)*/

    ConnectionData_KerberosSupport      = 1

}ConnectionDataType;

TransportResult

This enumeration defines possible results from using the custom transport library callback.

typedef enum

{

    TransportResultSuccess = 0,

    TransportResultFailure = 1,

    TransportResultWouldBlock = 2,

    TransportResultDNSFailure = 3,

    TransportResultHostUnreachable = 5,

    TransportResultFailureLibraryNotInitialized = 6,

    TransportResultFailureLibraryAlreadyInitialized =7

} ConnectionStatus;

 

Copyright © 2006-2013, Intel Corporation. All rights reserved.