Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Type Aliases

Functions

Type Aliases

WhiteList: ContextFilter

Functions

  • controlErrorQuark(): Quark
  • eventingErrorQuark(): Quark
  • getUuid(): string
  • rootdeviceErrorQuark(): Quark
  • serverErrorQuark(): Quark
  • whiteListAddEntry(whiteList: ContextFilter, entry: string): boolean
  • Add entry in the list of valid criteria used by white_list to filter networks. if entry already exists, it won't be added a second time.

    Parameters

    • whiteList: ContextFilter

      A #GUPnPWhiteList

    • entry: string

      A value used to filter network

    Returns boolean

  • whiteListAddEntryv(whiteList: ContextFilter, entries: string[]): void
  • Add a list of entries to a #GUPnPWhiteList. This is a helper function to directly add a %NULL-terminated array of string usually aquired from commandline args.

    Parameters

    • whiteList: ContextFilter

      A #GUPnPWhiteList

    • entries: string[]

      A %NULL-terminated list of strings

    Returns void

  • It will check if the context is allowed or not. The white_list will check all its entries againt #GUPnPContext interface, host ip and network fields information. This function doesn't take into account the white_list status (enabled or not).

    Parameters

    Returns boolean

  • Remove all entries from #GList that compose the white list. The list is now empty. Even if #GUPnPWhiteList is enabled, it will have the same behavior as if it was disabled.

    Parameters

    Returns void

  • Get the #GList of entries that compose the white list. Do not free

    Parameters

    Returns string[] | null

  • whiteListRemoveEntry(whiteList: ContextFilter, entry: string): boolean
  • Remove entry in the list of valid criteria used by white_list to filter networks.

    Parameters

    • whiteList: ContextFilter

      A #GUPnPWhiteList

    • entry: string

      A value to remove from the filter list.

    Returns boolean

  • whiteListSetEnabled(whiteList: ContextFilter, enable: boolean): void
  • Enable or disable the #GUPnPWhiteList to perform the network filtering.

    Parameters

    • whiteList: ContextFilter

      A #GUPnPWhiteList

    • enable: boolean

      %TRUE to enable white_list, %FALSE otherwise

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method