Packages

object CApi

Annotations
@link("unit") @extern()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CApi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type add_port_t = CFuncPtr2[Ptr[nxt_unit_ctx_t], Ptr[nxt_unit_port_t], CInt]
  2. type close_handler_t = CFuncPtr1[Ptr[nxt_unit_request_info_t], Unit]
  3. type data_handler_t = CFuncPtr1[Ptr[nxt_unit_request_info_t], Unit]
  4. type nxt_unit_buf_t = CStruct3[Ptr[CChar], Ptr[CChar], Ptr[CChar]]
  5. type nxt_unit_callbacks_t = CStruct11[request_handler_t, data_handler_t, websocket_handler_t, close_handler_t, add_port_t, remove_port_t, remove_pid_t, quit_t, shm_ack_handler_t, port_send_t, port_recv_t]
  6. type nxt_unit_ctx_t = CStruct2[Ptr[Byte], Ptr[nxt_unit_t]]
  7. type nxt_unit_field_t = CStruct6[CShort, Byte, Byte, CInt, nxt_unit_sptr_t, nxt_unit_sptr_t]
  8. type nxt_unit_init_t = CStruct11[Ptr[Byte], Ptr[Byte], CInt, CInt, CInt, nxt_unit_callbacks_t, nxt_unit_port_t, CInt, nxt_unit_port_t, nxt_unit_port_t, CInt]
  9. type nxt_unit_port_id_t = CStruct3[pid_t, CInt, CShort]
  10. type nxt_unit_port_t = CStruct4[nxt_unit_port_id_t, Int, Int, Ptr[Byte]]
  11. type nxt_unit_request_info_t = CStruct12[Ptr[nxt_unit_t], Ptr[nxt_unit_ctx_t], Ptr[nxt_unit_port_t], Ptr[Byte], Ptr[nxt_unit_buf_t], Ptr[nxt_unit_response_t], Ptr[nxt_unit_buf_t], CInt, Ptr[nxt_unit_buf_t], CLongLong, CInt, Ptr[Byte]]
  12. type nxt_unit_response_t = CStruct6[CLongInt, CInt, CInt, CShort, nxt_unit_sptr_t, nxt_unit_field_t]
  13. type nxt_unit_t = CStruct1[Ptr[Byte]]
  14. type nxt_unit_websocket_frame_t = CStruct6[Ptr[nxt_unit_request_info_t], CLongInt, Ptr[nxt_websocket_header_t], Ptr[Byte], Ptr[nxt_unit_buf_t], CLongLong]
  15. type nxt_websocket_header_t = CStruct8[Byte, Byte, Byte, Byte, Byte, Byte, Byte, CArray[Byte, _8]]
  16. type port_recv_t = CFuncPtr1[Ptr[nxt_unit_request_info_t], Unit]
  17. type port_send_t = CFuncPtr1[Ptr[nxt_unit_request_info_t], Unit]
  18. type quit_t = CFuncPtr1[Ptr[nxt_unit_ctx_t], Unit]
  19. type remove_pid_t = CFuncPtr1[Ptr[nxt_unit_request_info_t], Unit]
  20. type remove_port_t = CFuncPtr2[Ptr[nxt_unit_t], Ptr[nxt_unit_port_t], Unit]
  21. type request_handler_t = CFuncPtr1[Ptr[nxt_unit_request_info_t], Unit]
  22. type shm_ack_handler_t = CFuncPtr1[Ptr[nxt_unit_request_info_t], Unit]
  23. type websocket_handler_t = CFuncPtr1[Ptr[nxt_unit_websocket_frame_t], Unit]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def nxt_unit_buf_send(buf: Ptr[nxt_unit_buf_t]): CInt
  16. def nxt_unit_done(ctx: Ptr[nxt_unit_ctx_t]): CInt
  17. def nxt_unit_init(init: Ptr[nxt_unit_init_t]): Ptr[nxt_unit_ctx_t]
  18. def nxt_unit_log(ctx: Ptr[nxt_unit_ctx_t], level: Int, fmt: CString): Unit
  19. def nxt_unit_process_port_msg(ctx: Ptr[nxt_unit_ctx_t], port: Ptr[nxt_unit_port_t]): CInt
  20. def nxt_unit_request_done(req: Ptr[nxt_unit_request_info_t], rc: CInt): Unit
  21. def nxt_unit_request_read(req: Ptr[nxt_unit_request_info_t], dst: Ptr[Byte], size: CSSize): CSSize
  22. def nxt_unit_response_add_content(req: Ptr[nxt_unit_request_info_t], src: CString, size: Int): CInt
  23. def nxt_unit_response_add_field(req: Ptr[nxt_unit_request_info_t], name: CString, name_length: Byte, value: CString, value_length: Int): CInt
  24. def nxt_unit_response_buf_alloc(req: Ptr[nxt_unit_request_info_t], size: CInt): Ptr[nxt_unit_buf_t]
  25. def nxt_unit_response_init(req: Ptr[nxt_unit_request_info_t], status: CShort, max_fields_count: CInt, max_fields_size: CInt): CInt
  26. def nxt_unit_response_send(req: Ptr[nxt_unit_request_info_t]): CInt
  27. def nxt_unit_response_write_nb(req: Ptr[nxt_unit_request_info_t], start: CString, size: CSSize, min_size: CSSize): CSSize
  28. def nxt_unit_run(ctx: Ptr[nxt_unit_ctx_t]): CInt
  29. def nxt_unit_run_once(ctx: Ptr[nxt_unit_ctx_t]): CInt
  30. def nxt_unit_websocket_done(ws: Ptr[nxt_unit_websocket_frame_t]): Unit
  31. def nxt_unit_websocket_read(ws: Ptr[nxt_unit_websocket_frame_t], dest: Ptr[Byte], size: CSSize): CSSize
  32. def nxt_unit_websocket_send(req: Ptr[nxt_unit_request_info_t], opcode: Byte, last: Byte, start: Ptr[Byte], size: CSSize): CInt
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped