Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Type Aliases

Functions

Type Aliases

WhiteList: ContextFilter

Functions

  • control_error_quark(): Quark
  • eventing_error_quark(): Quark
  • get_uuid(): string
  • rootdevice_error_quark(): Quark
  • server_error_quark(): Quark
  • white_list_add_entry(white_list: 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

    • white_list: ContextFilter

      A #GUPnPWhiteList

    • entry: string

      A value used to filter network

    Returns boolean

  • white_list_add_entryv(white_list: 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

    • white_list: 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

  • white_list_get_entries(white_list: ContextFilter): string[] | null
  • white_list_remove_entry(white_list: ContextFilter, entry: string): boolean
  • Remove entry in the list of valid criteria used by white_list to filter networks.

    Parameters

    • white_list: ContextFilter

      A #GUPnPWhiteList

    • entry: string

      A value to remove from the filter list.

    Returns boolean

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

    Parameters

    • white_list: 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