Enumeration for network protocol types.
Synopsis:
#include <sys/credential/credential_net.h>
typedef enum {
CREDENTIAL_NETWORK_PROTOCOL_ANY = 1 << 0
CREDENTIAL_NETWORK_PROTOCOL_ANY_SECURE = 1 << 1
CREDENTIAL_NETWORK_PROTOCOL_HTTP = 1 << 2
CREDENTIAL_NETWORK_PROTOCOL_HTTPS = 1 << 3
CREDENTIAL_NETWORK_PROTOCOL_FTP = 1 << 4
CREDENTIAL_NETWORK_PROTOCOL_FTPS = 1 << 5
CREDENTIAL_NETWORK_PROTOCOL_OTHER = 1 << 6
} credential_net_protocol_t;
Data:
- CREDENTIAL_NETWORK_PROTOCOL_ANY
- A convenience value that matches any protocol.
- CREDENTIAL_NETWORK_PROTOCOL_ANY_SECURE
- A convenience value that matches any secure protocol.
- CREDENTIAL_NETWORK_PROTOCOL_HTTP
- Indicates HTTP network protocol type.
- CREDENTIAL_NETWORK_PROTOCOL_HTTPS
- Indicates HTTP secure network protocol type.
- CREDENTIAL_NETWORK_PROTOCOL_FTP
- Indicates FTP network protocol type.
- CREDENTIAL_NETWORK_PROTOCOL_FTPS
- Indicates FTP secure network protocol type.
- CREDENTIAL_NETWORK_PROTOCOL_OTHER
- Indicates other network protocol type.
Library:
libcredential (For the qcc command, use the -l bps option to link against this library)