Protocol entry returned by PR_GetProtoByName
and PR_GetProtoByNumber
.
#include <prnetdb.h> typedef struct PRProtoEnt { char *p_name; char **p_aliases; #if defined(_WIN32) PRInt16 p_num; #else PRInt32 p_num; #endif } PRProtoEnt;
The structure has the following fields:
p_name
p_aliases
NULL
entry.p_num