All pastes #897126 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-02-09 06:56 UTC
rendered paste body
; White space does not matter, the parser is stateful.
namespace lib.example
uuid 33d1d9de-d825-44cf-a9de-f32e50636f69

requires
      readonly
         ; lib.io.net.tcp
         uuid 3bbbb3b4-d109-47c9-88fa-5084327ab346
         ; lib.io.term.curses
         uuid 4ce0e04f-3a3b-43d9-8f9a-5be46e6c37bf

provides
   type [ExampleType]
   func [ExampleType]Refresh([ExampleType:const]argv)
        sha1 9897c1605d2aaf5a6883a7379463ef46c4a95750
   callback [null]Callbacks.Refreshing([null])
        sha1 131f200b02ddcc2a8241dd94eb5141ec5e4cf1f2

interface
   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   ;;; Establish a session/event security policy ;;;
   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   ;; Remember, default policy is to deny, so add ;;
   ;;          rules to open what you need        ;;
   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   ; Incoming events related to existing ILC session
   allow event in * secure,existing

   ; Outgoing events related to existing ILC session
   allow event out * secure,existing

   ; Allow INcoming session requests from anyone
   allow session in * secure

   ; Allow OUTgoing session requests to anyone
   allow session out * secure