Module Clarens
[show private | hide private]
[frames | no frames]

Module Clarens

Classes
client  

Function Summary
  create_session_key()
Creates a printable random set of characters
  err_msg(mes)
Prints an error message on stderr Input: a string
  load_cert(certfile, guest, debug)
  load_key(keyfile, guest, debug)
  parse_response_xmlrpc(f, conn, debug)
parse_response(file_obj)
  path_join(args)
Utility function to join paths
  repr_headers(hdict)
Returns HTTP headers in dictionary as a list of key/value pairs, one pairper line

Variable Summary
dict client_registry = {}

Function Details

create_session_key()

Creates a printable random set of characters

Input: no arguments Output: a string

err_msg(mes)

Prints an error message on stderr Input: a string

Returns: None

parse_response_xmlrpc(f, conn, debug=0)

parse_response(file_obj)

Read response from input file object, and parse it

The parsed data is returned to the caller

path_join(args)

Utility function to join paths

repr_headers(hdict)

Returns HTTP headers in dictionary as a list of key/value pairs, one pairper line

Variable Details

client_registry

Type:
dict
Value:
{}                                                                     

Generated by Epydoc 2.1 on Wed Jun 29 10:25:01 2005 http://epydoc.sf.net