Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ONCX10A

Package: Oncology

Routine: ONCX10A


Information

ONCX10A ;HCIOFO/SG - HTTP 1.0 CLIENT (TOOLS) ; 8/11/04 8:26am

Source Information

Source file <ONCX10A.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Kernel 1 ($$TRIM,$$UP)^XLFSTR  
Oncology 1 $$ERROR^ONCXERR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Oncology 1 ONCX10  

Entry Points

Name Comments DBIA/ICR reference
APPEND(BUF,NEWLINE) ;
DATASIZE(ONC8DATA,NLS) ;
HEADER(ONC8H,ONC8HDR) ;
NORMSTAT(STATUS) ;
RECEIVE(TIMEOUT,ONC8DATA,ONC8HDR) ;
; ONC8BUF Work buffer where the current line is being built
; ONC8DST Closed root of the current destination buffer used
; by the APPEND^ONCX10A
; ONC8H Temporary buffer for the raw HTTP header
; ONC8IS Subscript of the current continuation sub-node in
; the destination buffer (if 0 then the current main
; node is used)
; ONC8MBL Maximum buffer length
; ONC8PTR Subscript of the current node in the dest. buffer
; ONC8SL Number of available bytes in the current (sub)node
RCVERR
REQUEST(URI,ONC8DATA,ONC8HDR) ;

External References

Name Field # of Occurrence
$$ERROR^ONCXERR RECEIVE+29
$$TRIM^XLFSTR HEADER+6, HEADER+9, HEADER+10, NORMSTAT+3
$$UP^XLFSTR HEADER+9, REQUEST+8

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Variable: BUF#ONC8MBL
  • Timeout: TIMEOUT
  • Line Location: RECEIVE+21
Function Call: READ
  • Variable: BUF#RDLEN
  • Timeout: TIMEOUT
  • Line Location: RECEIVE+46
Function Call: WRITE
  • Prompt: "POST "_URI_" HTTP/1.0",CRLF,!
  • Line Location: REQUEST+16
Function Call: WRITE
  • Prompt: I_": "_ONC8HDR(I),CRLF,!
  • Line Location: REQUEST+19
Function Call: WRITE
  • Prompt: CRLF,$G(@ONC8DATA@(I)),!
  • Line Location: REQUEST+23
Function Call: WRITE
  • Prompt: $G(@ONC8DATA@(I,J)),!
  • Line Location: REQUEST+25
Function Call: WRITE
  • Prompt: "GET "_URI_" HTTP/1.0",CRLF,!
  • Line Location: REQUEST+27
Function Call: WRITE
  • Prompt: I_": "_ONC8HDR(I),CRLF,!
  • Line Location: REQUEST+29
Function Call: WRITE
  • Prompt: CRLF,!
  • Line Location: REQUEST+30

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TRAP" RECEIVE+17

Label References

Name Line Occurrences
$$DATASIZE REQUEST+15
$$HEADER RECEIVE+34, RCVERR+2
$$NORMSTAT HEADER+2
APPEND RECEIVE+24, RECEIVE+26, RECEIVE+52, RECEIVE+53, RCVERR+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BASE APPEND+1~, APPEND+6*, APPEND+10*, APPEND+11
BLCHS RECEIVE+12~, RECEIVE+13*, RECEIVE+25
BUF APPEND~, APPEND+2, APPEND+5, APPEND+11, APPEND+13, HEADER+1~, HEADER+3*, HEADER+5, HEADER+6, HEADER+9
, HEADER+10, RECEIVE+12~, RECEIVE+21*, RECEIVE+23, RECEIVE+24, RECEIVE+26, RECEIVE+32*, RECEIVE+46*, RECEIVE+48, RECEIVE+51
, RECEIVE+52, RECEIVE+53
CNTLEN RECEIVE+37~, RECEIVE+40, RECEIVE+41*, RECEIVE+42, RECEIVE+43*, RECEIVE+46, RECEIVE+47, RECEIVE+48*, RECEIVE+49
CRLF REQUEST+1~, REQUEST+2*, REQUEST+15, REQUEST+16, REQUEST+19, REQUEST+23, REQUEST+27, REQUEST+29, REQUEST+30
DFLTHDR REQUEST+1~
DFLTHDR( REQUEST+8!
DFLTHDR("CONTENT-LENGTH" REQUEST+4*, REQUEST+14
DFLTHDR("CONTENT-TYPE" REQUEST+5*, REQUEST+13
DFLTHDR("USER-AGENT" REQUEST+6*, REQUEST+9
EXIT RECEIVE+12~, RECEIVE+20*, RECEIVE+21, RECEIVE+23, RECEIVE+25*, RECEIVE+26, RECEIVE+29
I DATASIZE+3*, DATASIZE+4, DATASIZE+6, DATASIZE+7, HEADER+1~, HEADER+3*, NORMSTAT+1~, NORMSTAT+6*, REQUEST+1~, REQUEST+7*
, REQUEST+8*, REQUEST+18*, REQUEST+19*, REQUEST+21*, REQUEST+22*, REQUEST+23, REQUEST+25, REQUEST+28*, REQUEST+29*
I1 RECEIVE+12~, RECEIVE+22*, RECEIVE+23, RECEIVE+24*, RECEIVE+26, RECEIVE+32, RECEIVE+50*, RECEIVE+51, RECEIVE+52*, RECEIVE+53
I2 RECEIVE+12~, RECEIVE+23*, RECEIVE+24, RECEIVE+51*, RECEIVE+52
IO RECEIVE+19, REQUEST+11
J DATASIZE+5*, DATASIZE+6*, DATASIZE+7, REQUEST+1~, REQUEST+24*, REQUEST+25*
J1 NORMSTAT+1~, NORMSTAT+6, NORMSTAT+7*, NORMSTAT+8, NORMSTAT+9
J2 NORMSTAT+1~, NORMSTAT+5*, NORMSTAT+7, NORMSTAT+8*, NORMSTAT+9
L APPEND+1~, APPEND+2*, APPEND+4, APPEND+5*, APPEND+7, APPEND+11*, APPEND+12, APPEND+13
MBL RECEIVE+12~
NAME HEADER+1~, HEADER+5, HEADER+7, HEADER+9*, HEADER+10
NEWLINE APPEND~, APPEND+15
NLS DATASIZE~, DATASIZE+3, DATASIZE+8
ONC8BUF APPEND+5*, APPEND+8, APPEND+9, APPEND+11*, APPEND+13*, APPEND+15*, APPEND+16, APPEND+17, RECEIVE+12~, RECEIVE+15*
ONC8DATA DATASIZE~, DATASIZE+3, DATASIZE+4, DATASIZE+6, DATASIZE+7, RECEIVE~, RECEIVE+14, RECEIVE+36, RECEIVE+45, REQUEST~
, REQUEST+12, REQUEST+15, REQUEST+22, REQUEST+23, REQUEST+25
ONC8DST APPEND+8, APPEND+9, APPEND+16, APPEND+17, RECEIVE+12~, RECEIVE+20*, RECEIVE+45*
ONC8H HEADER~, RECEIVE+12~, RECEIVE+34, RCVERR+2
ONC8H( HEADER+3
ONC8H(1 HEADER+2
ONC8HDR HEADER~, HEADER+2*, HEADER+11, RECEIVE~, RECEIVE+14!, RECEIVE+34, RCVERR+2, REQUEST~
ONC8HDR( HEADER+7*, HEADER+10*, REQUEST+8, REQUEST+19, REQUEST+29
ONC8HDR("CONTENT-LENGTH" RECEIVE+40, RECEIVE+41
ONC8HDR("Content-Length" REQUEST+15*
ONC8HDR("Content-Type" REQUEST+13*
ONC8HDR("User-Agent" REQUEST+9*
ONC8IS APPEND+8, APPEND+9, APPEND+10*, APPEND+15*, APPEND+16, APPEND+17, RECEIVE+12~, RECEIVE+15*
ONC8MBL APPEND+10, APPEND+15, RECEIVE+12~, RECEIVE+13*, RECEIVE+15, RECEIVE+21, RECEIVE+26, RECEIVE+38, RECEIVE+42, RECEIVE+53
ONC8PTR APPEND+8, APPEND+9, APPEND+15*, APPEND+16, APPEND+17, RECEIVE+12~, RECEIVE+15*
ONC8SL APPEND+4, APPEND+5, APPEND+10*, APPEND+11, APPEND+12*, APPEND+13*, APPEND+15*, RECEIVE+12~, RECEIVE+15*
RDLEN RECEIVE+37~, RECEIVE+38*, RECEIVE+42*, RECEIVE+46, RECEIVE+49*
RTO RECEIVE+12~, RECEIVE+20*, RECEIVE+21*, RECEIVE+45*, RECEIVE+46*
SIZE DATASIZE+1~, DATASIZE+2*, DATASIZE+3*, DATASIZE+4*, DATASIZE+7*, DATASIZE+8
STATUS NORMSTAT~, NORMSTAT+3*, NORMSTAT+7, NORMSTAT+8, NORMSTAT+9*, NORMSTAT+11, RECEIVE+12~, RECEIVE+34*, RCVERR+2*, RCVERR+3
, REQUEST+1~, REQUEST+12*, REQUEST+26*, REQUEST+32
TAB HEADER+1~, HEADER+2*, HEADER+3
TIMEOUT RECEIVE~, RECEIVE+21, RECEIVE+46
TMP HEADER+1~, HEADER+6*, HEADER+7, NORMSTAT+1~, RECEIVE+12~, RECEIVE+24*, RECEIVE+25
U HEADER+11
URI REQUEST~, REQUEST+16, REQUEST+27
X RECEIVE+12~, RECEIVE+17*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All