Macros | Functions
extutils.c File Reference

External program delegation functions. More...

Go to the source code of this file.

Macros

#define MAIN_ERR_PREFIX   "EXT: "
 Message prefix for EXTUTILS module.
 

Functions

int ext_handler_email (const char *recipient, const char *subject, const char *body)
 Send e-mail to single recipient. More...
 
int ext_handler_uri (const char *uri, int *invalid)
 Start external handler for URI. More...
 
int ext_editor (const char *tfpn, int async,...)
 Start external editor for article composition. More...
 
int ext_editor_status (long int editor_pid)
 Poll status of external editor. More...
 
void ext_editor_terminate (long int editor_pid)
 Terminate external editor. More...
 
const char * ext_pp_filter (const char *article)
 External post processing filter for outgoing articles. More...
 
int ext_inews (const char *article)
 Start external inews for article injection. More...
 
int ext_download_file (const char *lpn, const char *uri)
 Download file from external source. More...
 
void ext_free (void *p)
 Free an object allocated by external program delegation module. More...
 

Detailed Description

External program delegation functions.

Copyright (c) 2012-2022 by the developers. See the LICENSE file for details.

If nothing else is specified, functions return zero to indicate success and a negative value to indicate an error.

Definition in file extutils.c.


Generated at 2024-04-27 using  doxygen