---
name: "YEventHost"
section: "3"
platform: "linux"
package: "liby-dev"
version: "2.14.5-7"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/YEventHost"
---

# YEventHost(3)

Y host event structures

## NAME

YEventHost - 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.

## SEE ALSO

[YEvent(3)](/YEvent/3.md) [YEventAudioChange(3)](/YEventAudioChange/3.md) [YEventServerStats(3)](/YEventServerStats/3.md) [YEventCycleChange(3)](/YEventCycleChange/3.md) [YEventDisconnect(3)](/YEventDisconnect/3.md) [YEventSoundKill(3)](/YEventSoundKill/3.md) [YEventMixer(3)](/YEventMixer/3.md) [YEventSoundPlay(3)](/YEventSoundPlay/3.md) [YEventSoundObjectAttributes(3)](/YEventSoundObjectAttributes/3.md) [YEventShutdown(3)](/YEventShutdown/3.md) [YEventSync(3)](/YEventSync/3.md) [YEventAudioStats(3)](/YEventAudioStats/3.md) [YEventYSHMSound(3)](/YEventYSHMSound/3.md) [YEventAudioCDStats(3)](/YEventAudioCDStats/3.md) [YGetNextEvent(3)](/YGetNextEvent/3.md) [YPutBackEvent(3)](/YPutBackEvent/3.md)
