node_reply_function   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/fleet-node.xtm

Implementation

(bind-func node_reply_function
  "request message in inbuf (length inbuflen), shoudl store pointer to reply message in outbuf & return length of reply message"
  (let ((reply_str:i8* (zalloc 256)))
    (lambda (inbuf:i8* inbuflen:size_t outbuf:i8**)
      (let ((bytes (sprintf reply_str "pingback! received message \"%s\" at time %lld" inbuf (now))))
        (pset! outbuf 0 reply_str)
        bytes))))


Back to Index

Similar Entries

  • ai_build_node    xtlang    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • ai_find_matching_node    xtlang    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • find_node    xtlang    /digego/extempore/tree/v0.8.9/examples/core/godot_test1.xtm
  • fleet_connect_to_nodes    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_message_all_nodes_sync    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • fleet_message_node_sync    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet.xtm
  • godot_node_path_destroy    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_node_path_new    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_node_path    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • impc:ir:function-calling-convention    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:function-fixup-args    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:get-function-type-from-str    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:make-function-str    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • llvm:get-native-function    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • node_reply_loop    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet-node.xtm
  • node_reply_loop_stop    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet-node.xtm
  • node_reply_socket_init    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet-node.xtm
  • reply_loop    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • set_up_reply_socket    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • xtmdoc-documentation-function    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-scheme-function-handler    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm