aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 29f73a36..ed60105c 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of libmicrohttpd 2 This file is part of libmicrohttpd
3 (C) 2006, 2007, 2008 Christian Grothoff (and other contributing authors) 3 (C) 2006, 2007, 2008, 2009 Christian Grothoff (and other contributing authors)
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public 6 modify it under the terms of the GNU Lesser General Public
@@ -81,7 +81,7 @@ extern "C"
81/** 81/**
82 * Current version of the library. 82 * Current version of the library.
83 */ 83 */
84#define MHD_VERSION 0x00040000 84#define MHD_VERSION 0x00040001
85 85
86/** 86/**
87 * MHD-internal return codes. 87 * MHD-internal return codes.
@@ -552,7 +552,13 @@ enum MHD_ConnectionInfoType
552 * 552 *
553 * Takes no extra arguments. 553 * Takes no extra arguments.
554 */ 554 */
555 MHD_CONNECTION_INFO_PROTOCOL 555 MHD_CONNECTION_INFO_PROTOCOL,
556
557 /**
558 * Obtain IP address of the client.
559 * Takes no extra arguments.
560 */
561 MHD_CONNECTION_INFO_CLIENT_ADDRESS
556}; 562};
557 563
558/** 564/**
@@ -1118,6 +1124,10 @@ union MHD_ConnectionInfo
1118{ 1124{
1119 enum MHD_GNUTLS_CipherAlgorithm cipher_algorithm; 1125 enum MHD_GNUTLS_CipherAlgorithm cipher_algorithm;
1120 enum MHD_GNUTLS_Protocol protocol; 1126 enum MHD_GNUTLS_Protocol protocol;
1127 /**
1128 * Address information for the client.
1129 */
1130 struct sockaddr_in * client_addr;
1121}; 1131};
1122 1132
1123/** 1133/**