Skip to content

Midas C++ API - el_xxx functions

This page contains the full API reference for the el_xxx logbook functions.

For the concepts and day-to-day use, see Logbook (elog).

Midas Elog Functions (el_xxx)

Functions

el_submit

INT el_submit(int run, const char *author, const char *type, const char *system, const char *subject, const char *text, const char *reply_to, const char *encoding, const char *afilename1, const char *buffer1, INT buffer_size1, const char *afilename2, const char *buffer2, INT buffer_size2, const char *afilename3, const char *buffer3, INT buffer_size3, char *tag, INT tag_size)

Submit an ELog entry.

Parameters:

  • run (int) –
    Run Number.
  • author (const char *) –
    Message author.
  • type (const char *) –
    Message type.
  • system (const char *) –
    Message system.
  • subject (const char *) –
    Subject.
  • text (const char *) –
    Message text.
  • reply_to (const char *) –
    In reply to this message.
  • encoding (const char *) –
    Text encoding, either HTML or plain.
  • afilename1 (const char *) –
    File name of attachment.
  • buffer1 (const char *) –
    File contents.
  • buffer_size1 (INT) –
    Size of buffer in bytes.
  • afilename2 (const char *) –
    File name of attachment.
  • buffer2 (const char *) –
    File contents.
  • buffer_size2 (INT) –
    Size of buffer in bytes.
  • afilename3 (const char *) –
    File name of attachment.
  • buffer3 (const char *) –
    File contents.
  • buffer_size3 (INT) –
    Size of buffer in bytes.
  • tag (char *) –
    If given, edit existing message.
  • tag_size (INT) –
    Maximum size of tag.

Returns:

Declared in include/midas.h:2100, defined in src/elog.cxx:126