ne_basic.h   ne_basic.h 
skipping to change at line 54 skipping to change at line 54
* *
* If a resource exists at "dest" and overwrite is zero, the operation * If a resource exists at "dest" and overwrite is zero, the operation
* will fail; if overwrite is non-zero, any existing resource will * will fail; if overwrite is non-zero, any existing resource will
* be over-written. * be over-written.
*/ */
/* Copy resource from 'src to 'dest' paths. If 'src' identifies a /* Copy resource from 'src to 'dest' paths. If 'src' identifies a
* collection resource, depth may be NE_DEPTH_ZERO to request that the * collection resource, depth may be NE_DEPTH_ZERO to request that the
* collection and its properties are to be copied, or * collection and its properties are to be copied, or
* NE_DEPTH_INFINITE to request that the collection and its contents * NE_DEPTH_INFINITE to request that the collection and its contents
* are to be copied. */ * are to be copied. Returns NE_* error code. */
int ne_copy(ne_session *sess, int overwrite, int depth, int ne_copy(ne_session *sess, int overwrite, int depth,
const char *src, const char *dest); const char *src, const char *dest);
/* Move resource from 'src' to dest 'path'. */ /* Move resource from 'src' to 'dest' path. Returns NE_* error
* code. */
int ne_move(ne_session *sess, int overwrite, int ne_move(ne_session *sess, int overwrite,
const char *src, const char *dest); const char *src, const char *dest);
/* Delete resource at 'path'. */ /* Delete resource at 'path'. Returns NE_* error code. */
int ne_delete(ne_session *sess, const char *path); int ne_delete(ne_session *sess, const char *path);
/* Create a collection at 'path', which MUST have a trailing slash. */
/* Create a collection at 'path', which is required to have a trailing
* slash. Returns NE_* error code. */
int ne_mkcol(ne_session *sess, const char *path); int ne_mkcol(ne_session *sess, const char *path);
/* Adds a Depth: header to a request */ /* Adds a Depth: header to a request. */
void ne_add_depth_header(ne_request *req, int depth); void ne_add_depth_header(ne_request *req, int depth);
/* Retrieve modification time of resource at location 'path', using /* Retrieve modification time of resource at location 'path', using
* the HEAD method, placing parsed time in *modtime. *modtime is set * the HEAD method, placing parsed time in *modtime. *modtime is set
* to -1 if no Last-Modified response header was given, or the date * to -1 if no Last-Modified response header was given, or the date
* given could not be parsed. */ * given could not be parsed. Returns NE_* error code. */
int ne_getmodtime(ne_session *sess, const char *path, time_t *modtime); int ne_getmodtime(ne_session *sess, const char *path, time_t *modtime);
typedef struct { typedef struct {
const char *type, *subtype; const char *type, *subtype;
const char *charset; const char *charset;
char *value; char *value;
} ne_content_type; } ne_content_type;
/* Retrieve the content-type of the response; returns zero if response /* Retrieve the content-type of the response; returns zero if response
* had valid content-type, in which case all fields in *ctype are set * had valid content-type, in which case all fields in *ctype are set
 End of changes. 6 change blocks. 
6 lines changed or deleted 9 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/