/***************************************************************************
*
* Project: libcurl.NET
*
* Copyright (c) 2004, 2005 Jeff Phillips (jeff@jeffp.net)
*
* This software is licensed as described in the file LICENSE, which you
* should have received as part of this distribution.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of this Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the LICENSE file.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
* ANY KIND, either express or implied.
*
* $Id: Enums.cs,v 1.1 2005/02/17 22:47:25 jeffreyphillips Exp $
**************************************************************************/
namespace CurlSharp
{
///
/// One of these is returned by .
///
public enum CurlFormCode
{
///
/// The section was added properly.
///
Ok = 0,
///
/// Out-of-memory when adding the section.
///
Memory = 1,
///
/// Invalid attempt to add the same option more than once to a
/// section.
///
OptionTwice = 2,
///
/// Invalid attempt to pass a null string or byte array in
/// one of the arguments.
///
Null = 3,
///
/// Invalid attempt to pass an unrecognized option in one of the
/// arguments.
///
UnknownOption = 4,
///
/// Incomplete argument lists.
///
Incomplete = 5,
///
/// Invalid attempt to provide a nested Array.
///
IllegalArray = 6,
///
/// This will not be returned so long as HTTP is enabled, which
/// it always is in libcurl.NET.
///
Disabled = 7,
///
/// End-of-enumeration marker; do not use in application code.
///
Last = 8
};
}