new file mode 100644
@@ -0,0 +1,27 @@
+/* kc3
+ * Copyright 2022,2023,2024 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+#ifndef KC3_SMTP_H
+#define KC3_SMTP_H
+
+#include "types.h"
+
+/* Heap-allocation functions, call kc3_smtp_close after use. */
+sw kc3_smtp_close (u_ptr *smtp);
+u_ptr * kc3_smtp_open (const s_str *server, const s_str *port,
+ const s_sym * const *security,
+ const s_sym * const *flags,
+ const s_str *cafile, u_ptr *dest);
+
+/* Operators. */
+
+#endif /* SMTP_H */
new file mode 100644
@@ -0,0 +1,18 @@
+/* kc3
+ * Copyright 2022,2023,2024 kmx.io <contact@kmx.io>
+ *
+ * Permission is hereby granted to use this software granted the above
+ * copyright notice and this permission paragraph are included in all
+ * copies and substantial portions of this software.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
+ * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
+ * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
+ * THIS SOFTWARE.
+ */
+#ifndef SMTP_TYPES_H
+#define SMTP_TYPES_H
+
+#include <libkc3/types.h>
+
+#endif /* SMTP_TYPES_H */