YEventHost(3) Y host event structures

STRUCTURES

typedef struct {


        int op;         /* 0 for remove, 1 for add. */

        YIPUnion ip;

} YEventHost;

When you receive this event it means that a host address has been added or removed to the Y server's list of permitted hosts which may connect to it.

If op member is set to 0 then it means that the ip member is the IP address if the host which has been removed from the list.

If op member is set to 1 then it means that the ip member is the IP address if the host which has been added to the list.