ELinks 0.18.0
document.c File Reference
Include dependency graph for document.c:

Functions

PyObject * python_current_document (PyObject *self, PyObject *args)
 
PyObject * python_current_header (PyObject *self, PyObject *args)
 
PyObject * python_current_link_url (PyObject *self, PyObject *args)
 
PyObject * python_current_title (PyObject *self, PyObject *args)
 
PyObject * python_current_url (PyObject *self, PyObject *args)
 

Variables

char python_current_document_doc []
 
char python_current_header_doc []
 
char python_current_link_url_doc []
 
char python_current_title_doc []
 
char python_current_url_doc []
 

Function Documentation

◆ python_current_document()

PyObject * python_current_document ( PyObject * self,
PyObject * args )

◆ python_current_header()

PyObject * python_current_header ( PyObject * self,
PyObject * args )

◆ python_current_link_url()

PyObject * python_current_link_url ( PyObject * self,
PyObject * args )

◆ python_current_title()

PyObject * python_current_title ( PyObject * self,
PyObject * args )

◆ python_current_url()

PyObject * python_current_url ( PyObject * self,
PyObject * args )

Variable Documentation

◆ python_current_document_doc

char python_current_document_doc[]
Initial value:
=
PYTHON_DOCSTRING("current_document() -> string or None\n\
\n\
If a document is being viewed, return its body; otherwise return None.\n")
#define PYTHON_DOCSTRING(str)
Definition core.h:46

◆ python_current_header_doc

char python_current_header_doc[]
Initial value:
=
PYTHON_DOCSTRING("current_header() -> string or None\n\
\n\
If a document is being viewed and it has a header, return the header;\n\
otherwise return None.\n")

◆ python_current_link_url_doc

char python_current_link_url_doc[]
Initial value:
=
PYTHON_DOCSTRING("current_link_url() -> string or None\n\
\n\
If a link is selected, return its URL; otherwise return None.\n")

◆ python_current_title_doc

char python_current_title_doc[]
Initial value:
=
PYTHON_DOCSTRING("current_title() -> string or None\n\
\n\
If a document is being viewed, return its title; otherwise return None.\n")

◆ python_current_url_doc

char python_current_url_doc[]
Initial value:
=
PYTHON_DOCSTRING("current_url() -> string or None\n\
\n\
If a document is being viewed, return its URL; otherwise return None.\n")