Files
bongo/src/agents/queue/dsn-format.h
T
Mario Fetka 2a77a4c9de
Debian Trixie package bundle / packages (push) Successful in 22m24s
smtp: preserve explicit DSN request semantics
2026-07-27 14:31:41 +02:00

42 lines
1.7 KiB
C

/****************************************************************************
* <Novell-copyright>
* Copyright (c) 2001 Novell, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, contact Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail, you
* may find current contact information at www.novell.com.
* </Novell-copyright>
****************************************************************************/
#ifndef BONGO_QUEUE_DSN_FORMAT_H
#define BONGO_QUEUE_DSN_FORMAT_H
#include <stddef.h>
#include <stdio.h>
#define BONGO_DSN_ADDRESS_MAX 4096U
int BongoDsnWriteBase64(FILE *input, FILE *output);
int BongoDsnEnvelopeId(const char *envid, char *result, size_t result_size);
int BongoDsnAddress(const char *address, int international, char *result,
size_t result_size);
int BongoDsnOriginalAddress(const char *orcpt, int international, char *result,
size_t result_size);
int BongoDsnFinalAddress(const char *delivery_recipient,
const char *envelope_recipient, int international,
char *result, size_t result_size);
const char *BongoDsnStatus(int reason, const char **action);
#endif