Code

use supplied username when locking
[fusedav.git] / src / session.h
1 #ifndef foosessionhfoo
2 #define foosessionhfoo
4 /* $Id$ */
6 /***
7   This file is part of fusedav.
9   fusedav is free software; you can redistribute it and/or modify it
10   under the terms of the GNU General Public License as published by
11   the Free Software Foundation; either version 2 of the License, or
12   (at your option) any later version.
13   
14   fusedav is distributed in the hope that it will be useful, but WITHOUT
15   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
17   License for more details.
18   
19   You should have received a copy of the GNU General Public License
20   along with fusedav; if not, write to the Free Software Foundation,
21   Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 ***/
24 #include <ne_session.h>
25 #include <ne_locks.h>
27 ne_session *session_get(int with_lock);
28 int session_set_uri(const char *s, const char*u, const char*p);
29 void session_free(void);
31 int session_is_local(const ne_uri *u);
33 extern char *base_directory;
34 extern ne_uri uri;
35 extern char *username;
37 #endif