Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Functions

Functions

  • bt(): void
  • error_clear_errno(): void
  • error_crash_here(): void
  • error_perror(): string
  • Gets the #ICalErrorEnum in the string representation. This method called the icalerrorno_return to get the current error.

    Returns string

  • error_restore(error: string, es: ErrorState): void
  • error_stop_here(): void
  • memory_add_tmp_buffer(buf: object): void
  • Adds an existing buffer to the buffer ring.

    Parameters

    • buf: object

      The existing buffer to be added into the ical

    Returns void

  • memory_append_char(buf: number[], pos: number[], ch: number): [number[], number[]]
  • Append the character to the buffer. Only use them on normally allocated memory, or on buffers created from icalmemory_new_buffer, never with buffers created by icalmemory_tmp_buffer. If icalmemory_append_string has to resize a buffer on the ring, the ring will loose track of it an you will have memory problems.

    Parameters

    • buf: number[]

      The buffer to be appended. It should not be the memory in ical.

    • pos: number[]

      The position at which the new string to be appended

    • ch: number

      The character to be allocated

    Returns [number[], number[]]

  • memory_append_string(buf: number[], pos: number[], str: string): [number[], number[]]
  • Appends the string to the buffer. Only use them on normally allocated memory, or on buffers created from icalmemory_new_buffer, never with buffers created by icalmemory_tmp_buffer. If icalmemory_append_string has to resize a buffer on the ring, the ring will loose track of it an you will have memory problems.

    Parameters

    • buf: number[]

      The buffer to be appended. It should not be the memory in ical.

    • pos: number[]

      The position at which the new string to be appended

    • str: string

      The string to be allocated

    Returns [number[], number[]]

  • memory_free_buffer(buf: object): void
  • memory_new_buffer(size: number): object | null
  • Creates a new buffer with target size. The caller should deallocate it when necessary.

    Parameters

    • size: number

      The size of the new buffer to be created

    Returns object | null

  • memory_resize_buffer(buf: object, size: number): object | null
  • Resizes the buffer to the target size.

    Parameters

    • buf: object

      The buffer needs to be resized

    • size: number

      The target size the buffer to be resized to

    Returns object | null

  • memory_strdup(s: string): string
  • A wrapper around strdup. Partly to trap calls to strdup, partly because in -ansi, gcc on Red Hat claims that strdup is undeclared.

    Parameters

    • s: string

      The string to be cloned

    Returns string

  • memory_tmp_buffer(size: number): object | null
  • Creates a buffer with target size.

    Parameters

    • size: number

      The size of the buffer to be created

    Returns object | null

  • memory_tmp_copy(str: string): string
  • recur_expand_recurrence(rule: string, start: number, count: number): number[]
  • Fills an array with the 'count' number of occurrences generated by the rrule. Note that the times are returned in UTC, but the times are calculated in local time. YOu will have to convert the results back into local time before using them.

    Parameters

    • rule: string

      The rule of the recurrence

    • start: number

      The start seconds past the POSIX epoch

    • count: number

      The number of elements to be filled up in the array

    Returns number[]

  • request_status_from_num(major: number, minor: number): RequestStatus

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