entry

Name

entry -- 

Synopsis



enum        LJSecurityType;
#define     LJ_SECURITY_ALLOWMASK_FRIENDS
void        lj_security_from_strings        (LJSecurity *security,
                                             const char *sectext,
                                             const char *allowmask);
void        lj_security_to_strings          (LJSecurity *security,
                                             char **sectext,
                                             char **allowmask);
void        lj_security_append_to_request   (LJSecurity *security,
                                             LJRequest *request);
enum        LJCommentsType;
enum        LJEntryFileType;
LJEntry*    lj_entry_new                    (void);
LJEntry*    lj_entry_new_from_file          (FILE *f,
                                             LJEntryFileType type,
                                             LJEntryFileType *typeret,
                                             GError **err);
LJEntry*    lj_entry_new_from_filename      (const char *filename,
                                             LJEntryFileType type,
                                             LJEntryFileType *typeret,
                                             GError **err);
LJEntry*    lj_entry_new_from_xml_node      (xmlDocPtr doc,
                                             xmlNodePtr node);
LJEntry*    lj_entry_new_single_from_result (LJResult *result,
                                             GError **err);
LJEntry*    lj_entry_copy                   (LJEntry *e);
void        lj_entry_free                   (LJEntry *e);
char*       lj_entry_make_summary           (LJEntry *entry);
char*       lj_get_summary                  (char *subject,
                                             char *event);
void        lj_entry_set_request_fields     (LJEntry *entry,
                                             LJRequest *request);
xmlNodePtr  lj_entry_to_xml_node            (LJEntry *entry,
                                             xmlDocPtr doc);
gboolean    lj_entry_to_xml_file            (LJEntry *entry,
                                             const char *filename,
                                             GError **err);
GString*    lj_entry_to_rfc822              (LJEntry *entry,
                                             gboolean includeempty);
gboolean    lj_entry_to_rfc822_file         (LJEntry *entry,
                                             const char *filename,
                                             gboolean includeempty,
                                             GError **err);
gboolean    lj_entry_edit_with_usereditor   (LJEntry *entry,
                                             const char *basepath,
                                             GError **err);
LJEntry**   lj_entries_new_from_result      (LJResult *result,
                                             int count,
                                             GSList **warnings);

Description

Details

enum LJSecurityType

typedef enum {
	LJ_SECURITY_PUBLIC = 0,
	LJ_SECURITY_FRIENDS,
	LJ_SECURITY_PRIVATE,
	LJ_SECURITY_CUSTOM
} LJSecurityType;


LJ_SECURITY_ALLOWMASK_FRIENDS

#define LJ_SECURITY_ALLOWMASK_FRIENDS 1


lj_security_from_strings ()

void        lj_security_from_strings        (LJSecurity *security,
                                             const char *sectext,
                                             const char *allowmask);

security :

sectext :

allowmask :


lj_security_to_strings ()

void        lj_security_to_strings          (LJSecurity *security,
                                             char **sectext,
                                             char **allowmask);

security :

sectext :

allowmask :


lj_security_append_to_request ()

void        lj_security_append_to_request   (LJSecurity *security,
                                             LJRequest *request);

security :

request :


enum LJCommentsType

typedef enum {
	LJ_COMMENTS_DEFAULT,
	LJ_COMMENTS_NOEMAIL,
	LJ_COMMENTS_DISABLE
} LJCommentsType;


enum LJEntryFileType

typedef enum {
	LJ_ENTRY_FILE_AUTODETECT,
	LJ_ENTRY_FILE_XML,
	LJ_ENTRY_FILE_RFC822,
	LJ_ENTRY_FILE_PLAIN
} LJEntryFileType;


lj_entry_new ()

LJEntry*    lj_entry_new                    (void);

Returns :


lj_entry_new_from_file ()

LJEntry*    lj_entry_new_from_file          (FILE *f,
                                             LJEntryFileType type,
                                             LJEntryFileType *typeret,
                                             GError **err);

f :

type :

typeret :

err :

Returns :


lj_entry_new_from_filename ()

LJEntry*    lj_entry_new_from_filename      (const char *filename,
                                             LJEntryFileType type,
                                             LJEntryFileType *typeret,
                                             GError **err);

filename :

type :

typeret :

err :

Returns :


lj_entry_new_from_xml_node ()

LJEntry*    lj_entry_new_from_xml_node      (xmlDocPtr doc,
                                             xmlNodePtr node);

doc :

node :

Returns :


lj_entry_new_single_from_result ()

LJEntry*    lj_entry_new_single_from_result (LJResult *result,
                                             GError **err);

result :

err :

Returns :


lj_entry_copy ()

LJEntry*    lj_entry_copy                   (LJEntry *e);

e :

Returns :


lj_entry_free ()

void        lj_entry_free                   (LJEntry *e);

e :


lj_entry_make_summary ()

char*       lj_entry_make_summary           (LJEntry *entry);

entry :

Returns :


lj_get_summary ()

char*       lj_get_summary                  (char *subject,
                                             char *event);

subject :

event :

Returns :


lj_entry_set_request_fields ()

void        lj_entry_set_request_fields     (LJEntry *entry,
                                             LJRequest *request);

entry :

request :


lj_entry_to_xml_node ()

xmlNodePtr  lj_entry_to_xml_node            (LJEntry *entry,
                                             xmlDocPtr doc);

entry :

doc :

Returns :


lj_entry_to_xml_file ()

gboolean    lj_entry_to_xml_file            (LJEntry *entry,
                                             const char *filename,
                                             GError **err);

entry :

filename :

err :

Returns :


lj_entry_to_rfc822 ()

GString*    lj_entry_to_rfc822              (LJEntry *entry,
                                             gboolean includeempty);

entry :

includeempty :

Returns :


lj_entry_to_rfc822_file ()

gboolean    lj_entry_to_rfc822_file         (LJEntry *entry,
                                             const char *filename,
                                             gboolean includeempty,
                                             GError **err);

entry :

filename :

includeempty :

err :

Returns :


lj_entry_edit_with_usereditor ()

gboolean    lj_entry_edit_with_usereditor   (LJEntry *entry,
                                             const char *basepath,
                                             GError **err);

entry :

basepath :

err :

Returns :


lj_entries_new_from_result ()

LJEntry**   lj_entries_new_from_result      (LJResult *result,
                                             int count,
                                             GSList **warnings);

result :

count :

warnings :

Returns :