Diffstat (limited to 'kmicromail/libetpan/tools/mailstream.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kmicromail/libetpan/tools/mailstream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kmicromail/libetpan/tools/mailstream.h b/kmicromail/libetpan/tools/mailstream.h index a4e35cd..8a89a72 100644 --- a/kmicromail/libetpan/tools/mailstream.h +++ b/kmicromail/libetpan/tools/mailstream.h @@ -23,33 +23,34 @@ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ /* * $Id$ */ #ifndef MAILSTREAM_H #define MAILSTREAM_H - +//dont forget to change the value in <libetpan/mailstream.h> as well +#define DEFAULT_NETWORK_TIMEOUT 30 #include <sys/time.h> #include <libetpan/mailstream_low.h> #include <libetpan/mailstream_helper.h> #include <libetpan/mailstream_socket.h> #include <libetpan/mailstream_ssl.h> #include <libetpan/mailstream_types.h> #ifdef __cplusplus extern "C" { #endif mailstream * mailstream_new(mailstream_low * low, size_t buffer_size); ssize_t mailstream_write(mailstream * s, const void * buf, size_t count); ssize_t mailstream_read(mailstream * s, void * buf, size_t count); int mailstream_close(mailstream * s); |