mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-30 16:35:24 +00:00
include: admin: export connection transport constants
We have to expose some constants, in order for the client object transport field to make sense. Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
04bab54d05
commit
15500e9229
@ -205,6 +205,16 @@ long long virAdmClientGetTimestamp(virAdmClientPtr client);
|
||||
int virAdmClientGetTransport(virAdmClientPtr client);
|
||||
int virAdmClientFree(virAdmClientPtr client);
|
||||
|
||||
typedef enum {
|
||||
VIR_CLIENT_TRANS_UNIX = 0, /* connection via UNIX socket */
|
||||
VIR_CLIENT_TRANS_TCP, /* connection via unencrypted TCP socket */
|
||||
VIR_CLIENT_TRANS_TLS, /* connection via encrypted TCP socket */
|
||||
|
||||
# ifdef VIR_ENUM_SENTINELS
|
||||
VIR_CLIENT_TRANS_LAST
|
||||
# endif
|
||||
} virClientTransport;
|
||||
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user