ESPUTR
calculation of sputtering yields
Data Types | Functions/Subroutines | Variables
cgi_protocol Module Reference

Data Types

interface  cgi_get
 
type  dict_data
 

Functions/Subroutines

subroutine cgi_begin (html, dict, luout)
 
subroutine cgi_header (type)
 
subroutine cgi_get_method (dict, length)
 
subroutine cgi_post_method (dict, length)
 
subroutine cgi_dustmote_method (dict)
 
subroutine cgi_store_dict (dict, string)
 
subroutine cgi_decode_string (string)
 
subroutine cgi_end
 
subroutine cgi_error (msg, template)
 
subroutine cgi_get_session (dict, value)
 
subroutine cgi_get_string (dict, varname, value)
 
subroutine cgi_get_integer (dict, varname, value)
 
subroutine cgi_get_real (dict, varname, value)
 
subroutine cgi_get_real8 (dict, varname, value)
 
subroutine cgi_get_logical (dict, varname, value)
 

Variables

integer, parameter dict_key_length = 80
 
integer, parameter dict_value_length = 200
 
integer, parameter dict_buffer_length = DICT_KEY_LENGTH + DICT_VALUE_LENGTH + 1
 
integer, parameter output_no_header = 0
 
integer, parameter output_html = 1
 
integer, parameter output_text = 2
 
integer, parameter, private output_html_delayed = 3
 
integer, parameter, private output_text_delayed = 4
 
type(dict_data), parameter dict_null = dict_data('')
 
integer, save, private method = -1
 
integer, save, private luout_cgi = 6
 
logical, save, private header_written
 

Function/Subroutine Documentation

subroutine cgi_protocol::cgi_begin ( integer, intent(in)  html,
type(dict_struct), pointer  dict,
integer, intent(out)  luout 
)

Definition at line 67 of file cgi_protocol.f90.

References cgi_dustmote_method(), cgi_error(), cgi_get_method(), cgi_header(), cgi_post_method(), header_written, luout_cgi, method, output_html, output_html_delayed, output_no_header, output_text, and output_text_delayed.

Referenced by esputr_cgi().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine cgi_protocol::cgi_header ( integer, intent(in)  type)

Definition at line 165 of file cgi_protocol.f90.

References cgi_error(), header_written, luout_cgi, output_html, output_html_delayed, output_no_header, output_text, and output_text_delayed.

Referenced by cgi_begin().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine cgi_protocol::cgi_get_method ( type(dict_struct), pointer  dict,
integer, intent(in)  length 
)

Definition at line 191 of file cgi_protocol.f90.

References cgi_store_dict().

Referenced by cgi_begin().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine cgi_protocol::cgi_post_method ( type(dict_struct), pointer  dict,
integer, intent(in)  length 
)

Definition at line 209 of file cgi_protocol.f90.

References cgi_store_dict().

Referenced by cgi_begin().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine cgi_protocol::cgi_dustmote_method ( type(dict_struct), pointer  dict)

Definition at line 227 of file cgi_protocol.f90.

References cgi_store_dict().

Referenced by cgi_begin().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine cgi_protocol::cgi_store_dict ( type(dict_struct), pointer  dict,
character(len=*), intent(in)  string 
)

Definition at line 259 of file cgi_protocol.f90.

References cgi_decode_string().

Referenced by cgi_dustmote_method(), cgi_get_method(), and cgi_post_method().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine cgi_protocol::cgi_decode_string ( character(len=*), intent(inout)  string)

Definition at line 315 of file cgi_protocol.f90.

Referenced by cgi_store_dict().

Here is the caller graph for this function:

subroutine cgi_protocol::cgi_end ( )

Definition at line 351 of file cgi_protocol.f90.

References method.

Referenced by cgi_error(), esputr_cgi(), and sendavailablecombinations().

Here is the caller graph for this function:

subroutine cgi_protocol::cgi_error ( character(len=*), intent(in)  msg,
character(len=*), intent(in), optional  template 
)

Definition at line 377 of file cgi_protocol.f90.

References cgi_end(), header_written, and luout_cgi.

Referenced by cgi_begin(), cgi_header(), esputr_cgi(), initesputr(), sendavailablecombinations(), toreal8(), and writejsonarray().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine cgi_protocol::cgi_get_session ( type(dict_struct), pointer  dict,
character(len=*)  value 
)

Definition at line 439 of file cgi_protocol.f90.

subroutine cgi_protocol::cgi_get_string ( type(dict_struct), pointer  dict,
character(len=*)  varname,
character(len=*)  value 
)

Definition at line 469 of file cgi_protocol.f90.

subroutine cgi_protocol::cgi_get_integer ( type(dict_struct), pointer  dict,
character(len=*)  varname,
integer  value 
)

Definition at line 483 of file cgi_protocol.f90.

subroutine cgi_protocol::cgi_get_real ( type(dict_struct), pointer  dict,
character(len=*)  varname,
real  value 
)

Definition at line 502 of file cgi_protocol.f90.

subroutine cgi_protocol::cgi_get_real8 ( type(dict_struct), pointer  dict,
character(len=*)  varname,
real(kind=8)  value 
)

Definition at line 521 of file cgi_protocol.f90.

subroutine cgi_protocol::cgi_get_logical ( type(dict_struct), pointer  dict,
character(len=*)  varname,
logical  value 
)

Definition at line 540 of file cgi_protocol.f90.

Variable Documentation

integer, parameter cgi_protocol::dict_key_length = 80

Definition at line 15 of file cgi_protocol.f90.

integer, parameter cgi_protocol::dict_value_length = 200

Definition at line 16 of file cgi_protocol.f90.

Referenced by getlastmessage(), and split().

integer, parameter cgi_protocol::dict_buffer_length = DICT_KEY_LENGTH + DICT_VALUE_LENGTH + 1

Definition at line 17 of file cgi_protocol.f90.

integer, parameter cgi_protocol::output_no_header = 0

Definition at line 19 of file cgi_protocol.f90.

Referenced by cgi_begin(), cgi_header(), and esputr_cgi().

integer, parameter cgi_protocol::output_html = 1

Definition at line 20 of file cgi_protocol.f90.

Referenced by cgi_begin(), and cgi_header().

integer, parameter cgi_protocol::output_text = 2

Definition at line 21 of file cgi_protocol.f90.

Referenced by cgi_begin(), and cgi_header().

integer, parameter, private cgi_protocol::output_html_delayed = 3

Definition at line 22 of file cgi_protocol.f90.

Referenced by cgi_begin(), and cgi_header().

integer, parameter, private cgi_protocol::output_text_delayed = 4

Definition at line 23 of file cgi_protocol.f90.

Referenced by cgi_begin(), and cgi_header().

type(dict_data), parameter cgi_protocol::dict_null = dict_data('')

Definition at line 36 of file cgi_protocol.f90.

integer, save, private cgi_protocol::method = -1

Definition at line 38 of file cgi_protocol.f90.

Referenced by cgi_begin(), and cgi_end().

integer, save, private cgi_protocol::luout_cgi = 6

Definition at line 39 of file cgi_protocol.f90.

Referenced by cgi_begin(), cgi_error(), and cgi_header().

logical, save, private cgi_protocol::header_written

Definition at line 40 of file cgi_protocol.f90.

Referenced by cgi_begin(), cgi_error(), and cgi_header().