Camel.HeaderAddress

Fields

Name

Type

Access

Description

name

str

r/w

next

object

r/w

refcount

int

r/w

type

Camel.HeaderAddressType

r/w

Methods

class

decode (in_, charset)

class

fold (in_, headerlen)

class

list_append (addrlistp, addr)

class

list_append_list (addrlistp, addrs)

class

list_clear (addrlistp)

class

list_encode (addrlist)

class

list_format (addrlist)

class

new ()

class

new_group (name)

class

new_name (name, addr)

add_member (member)

ref ()

set_addr (addr)

set_members (group)

set_name (name)

unref ()

Details

class Camel.HeaderAddress
classmethod decode(in_, charset)
Parameters:
  • in (str) –

  • charset (str) –

Return type:

Camel.HeaderAddress

classmethod fold(in_, headerlen)
Parameters:
  • in (str) –

  • headerlen (int) –

Return type:

str

classmethod list_append(addrlistp, addr)
Parameters:

TODO: Document me.

classmethod list_append_list(addrlistp, addrs)
Parameters:

TODO: Document me.

classmethod list_clear(addrlistp)
Parameters:

addrlistp ([Camel.HeaderAddress]) – a None-terminated list of Camel.HeaderAddress objects

TODO: Document me.

classmethod list_encode(addrlist)
Parameters:

addrlist ([Camel.HeaderAddress]) – a None-terminated list of Camel.HeaderAddress objects

Return type:

str

TODO: Document me.

classmethod list_format(addrlist)
Parameters:

addrlist ([Camel.HeaderAddress]) – a None-terminated list of Camel.HeaderAddress objects

Return type:

str

TODO: Document me.

classmethod new()
Return type:

Camel.HeaderAddress

classmethod new_group(name)
Parameters:

name (str) –

Return type:

Camel.HeaderAddress

classmethod new_name(name, addr)
Parameters:
  • name (str) –

  • addr (str) –

Return type:

Camel.HeaderAddress

add_member(member)
Parameters:

member (Camel.HeaderAddress) –

ref()
Return type:

Camel.HeaderAddress

set_addr(addr)
Parameters:

addr (str) –

set_members(group)
Parameters:

group ([Camel.HeaderAddress]) – a None-terminated list of Camel.HeaderAddress

TODO: Document me.

set_name(name)
Parameters:

name (str) –

unref()