Difference between revisions of "Unit IMAP4"

From Ultibo.org
Jump to: navigation, search
 
(10 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
----
 
----
  
''To be documented''
+
'''Ultibo IMAP4 Interface unit'''
  
 
=== Constants ===
 
=== Constants ===
 
----
 
----
  
''To be documented''
+
 
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''IMAP4 logging''' <code> IMAP4_LOG_LEVEL_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
| <code>IMAP4_LOG_LEVEL_DEBUG = LOG_LEVEL_DEBUG;</code>
 +
| IMAP4 debugging messages
 +
|-
 +
| <code>IMAP4_LOG_LEVEL_INFO = LOG_LEVEL_INFO;</code>
 +
| IMAP4 informational messages
 +
|-
 +
| <code>IMAP4_LOG_LEVEL_WARN = LOG_LEVEL_WARN;</code>
 +
| IMAP4 warning messages
 +
|-
 +
| <code>IMAP4_LOG_LEVEL_ERROR = LOG_LEVEL_ERROR;</code>
 +
| IMAP4 error messages
 +
|-
 +
| <code>IMAP4_LOG_LEVEL_NONE = LOG_LEVEL_NONE;</code>
 +
| No IMAP4 messages
 +
|-
 +
|}
 +
</div></div>
 +
<br />
  
 
=== Type definitions ===
 
=== Type definitions ===
 
----
 
----
  
''To be documented''
+
''None defined''
  
 
=== Public variables ===
 
=== Public variables ===
 
----
 
----
  
''To be documented''
+
 
 +
'''IMAP4 logging'''
 +
     
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>IMAP4_DEFAULT_LOG_LEVEL:LongWord = IMAP4_LOG_LEVEL_DEBUG;</code>
 +
| style="width: 40%;"|Minimum level for IMAP4 messages. Only messages with level greater than or equal to this will be printed.
 +
|-
 +
|}
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>IMAP4_LOG_ENABLED:Boolean;</code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 +
<br />
  
 
=== Function declarations ===
 
=== Function declarations ===
Line 34: Line 72:
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
|-
 
|-
! '''Note'''
+
! Note
 
| None documented
 
| None documented
 
|-
 
|-
Line 44: Line 82:
  
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
<pre style="border: 0; padding-bottom:0px;">procedure IMAP4Log(Level:LongWord;const AText:String);</pre>
+
<pre style="border: 0; padding-bottom:0px;">procedure IMAP4Log(Level:LongWord; const AText:String);</pre>
 +
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
! Note
 +
| None documented
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 +
<pre style="border: 0; padding-bottom:0px;">procedure IMAP4LogInfo(const AText:String); inline;</pre>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
|-
 
|-
! '''Note'''
+
! Note
 
| None documented
 
| None documented
 
|-
 
|-
Line 56: Line 106:
 
<br />
 
<br />
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
<pre style="border: 0; padding-bottom:0px;">procedure IMAP4LogInfo(const AText:String);</pre>
+
<pre style="border: 0; padding-bottom:0px;">procedure IMAP4LogWarn(const AText:String); inline;</pre>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
|-
 
|-
! '''Note'''
+
! Note
 
| None documented
 
| None documented
 
|-
 
|-
Line 68: Line 118:
 
<br />
 
<br />
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
<pre style="border: 0; padding-bottom:0px;">procedure IMAP4LogError(const AText:String);</pre>
+
<pre style="border: 0; padding-bottom:0px;">procedure IMAP4LogError(const AText:String); inline;</pre>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
|-
 
|-
! '''Note'''
+
! Note
 
| None documented
 
| None documented
 
|-
 
|-
Line 80: Line 130:
 
<br />
 
<br />
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
<pre style="border: 0; padding-bottom:0px;">procedure IMAP4LogDebug(const AText:String);</pre>
+
<pre style="border: 0; padding-bottom:0px;">procedure IMAP4LogDebug(const AText:String); inline;</pre>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div>
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
|-
 
|-
! '''Note'''
+
! Note
 
| None documented
 
| None documented
 
|-
 
|-

Latest revision as of 05:25, 31 August 2021

Return to Unit Reference


Description


Ultibo IMAP4 Interface unit

Constants



IMAP4 logging IMAP4_LOG_LEVEL_*
IMAP4_LOG_LEVEL_DEBUG = LOG_LEVEL_DEBUG; IMAP4 debugging messages
IMAP4_LOG_LEVEL_INFO = LOG_LEVEL_INFO; IMAP4 informational messages
IMAP4_LOG_LEVEL_WARN = LOG_LEVEL_WARN; IMAP4 warning messages
IMAP4_LOG_LEVEL_ERROR = LOG_LEVEL_ERROR; IMAP4 error messages
IMAP4_LOG_LEVEL_NONE = LOG_LEVEL_NONE; No IMAP4 messages


Type definitions


None defined

Public variables



IMAP4 logging

IMAP4_DEFAULT_LOG_LEVEL:LongWord = IMAP4_LOG_LEVEL_DEBUG; Minimum level for IMAP4 messages. Only messages with level greater than or equal to this will be printed.
IMAP4_LOG_ENABLED:Boolean;


Function declarations



Initialization functions

procedure IMAP4Init;
Description: To be documented
Note None documented


IMAP4 helper functions

procedure IMAP4Log(Level:LongWord; const AText:String);
Description: To be documented
Note None documented


procedure IMAP4LogInfo(const AText:String); inline;
Description: To be documented
Note None documented


procedure IMAP4LogWarn(const AText:String); inline;
Description: To be documented
Note None documented


procedure IMAP4LogError(const AText:String); inline;
Description: To be documented
Note None documented


procedure IMAP4LogDebug(const AText:String); inline;
Description: To be documented
Note None documented


Return to Unit Reference