---
name: "YEventHost"
section: "3"
platform: "linux"
package: "liby-dev"
version: "2.14.5-7"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://carta.tech/man/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)](/man/YEvent/3.md) [YEventAudioChange(3)](/man/YEventAudioChange/3.md) [YEventServerStats(3)](/man/YEventServerStats/3.md) [YEventCycleChange(3)](/man/YEventCycleChange/3.md) [YEventDisconnect(3)](/man/YEventDisconnect/3.md) [YEventSoundKill(3)](/man/YEventSoundKill/3.md) [YEventMixer(3)](/man/YEventMixer/3.md) [YEventSoundPlay(3)](/man/YEventSoundPlay/3.md) [YEventSoundObjectAttributes(3)](/man/YEventSoundObjectAttributes/3.md) [YEventShutdown(3)](/man/YEventShutdown/3.md) [YEventSync(3)](/man/YEventSync/3.md) [YEventAudioStats(3)](/man/YEventAudioStats/3.md) [YEventYSHMSound(3)](/man/YEventYSHMSound/3.md) [YEventAudioCDStats(3)](/man/YEventAudioCDStats/3.md) [YGetNextEvent(3)](/man/YGetNextEvent/3.md) [YPutBackEvent(3)](/man/YPutBackEvent/3.md)
