Browse code

auth(k): module removed

- use modules/auth insted of this one

Daniel-Constantin Mierla authored on 25/07/2010 20:14:12
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,66 +0,0 @@
1
-/*
2
- * $Id$
3
- *
4
- * Copyright (C) 2001-2003 FhG Fokus
5
- *
6
- * This file is part of Kamailio, a free SIP server.
7
- *
8
- * Kamailio is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version
12
- *
13
- * Kamailio is distributed in the hope that it will be useful,
14
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
- * GNU General Public License for more details.
17
- *
18
- * You should have received a copy of the GNU General Public License 
19
- * along with this program; if not, write to the Free Software 
20
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21
- */
22
-
23
-/*!
24
- * \file
25
- * \brief Challenge related functions
26
- * \ingroup auth
27
- * - Module: \ref auth
28
- */
29
-
30
-#ifndef CHALLENGE_H
31
-#define CHALLENGE_H
32
-
33
-#include "../../parser/msg_parser.h"
34
-
35
-
36
-/*!
37
- * \brief Challenge a user to send credentials using WWW-Authorize header field
38
- * \param _msg SIP message
39
- * \param _realm authentification realm
40
- * \param _qop qop value
41
- * \return 0 if challenge could be sended, -1 on failure
42
- */
43
-int www_challenge(struct sip_msg* _msg, char* _realm, char* _qop);
44
-
45
-
46
-/*!
47
- * \brief Challenge a user to send credentials using Proxy-Authorize header field
48
- * \param _msg SIP message
49
- * \param _realm authentification realm
50
- * \param _qop qop value
51
- * \return 0 if challenge could be sended, -1 on failure
52
- */
53
-int proxy_challenge(struct sip_msg* _msg, char* _realm, char* _qop);
54
-
55
-
56
-/*!
57
- * \brief Remove used credentials from a SIP message header
58
- * \param _m SIP message
59
- * \param _s1 unused
60
- * \param _s2 unused
61
- * \return 1 when credentials could be removed, -1 if not found or on failure
62
- */
63
-int consume_credentials(struct sip_msg* _m, char* _s1, char* _s2);
64
-
65
-
66
-#endif
Browse code

- fix a bunch of doxygen errors

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5239 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 21/11/2008 10:24:44
Showing 1 changed files
... ...
@@ -40,7 +40,7 @@
40 40
  * \param _qop qop value
41 41
  * \return 0 if challenge could be sended, -1 on failure
42 42
  */
43
-int www_challenge(struct sip_msg* _msg, char* _realm, char* _str2);
43
+int www_challenge(struct sip_msg* _msg, char* _realm, char* _qop);
44 44
 
45 45
 
46 46
 /*!
... ...
@@ -50,7 +50,7 @@ int www_challenge(struct sip_msg* _msg, char* _realm, char* _str2);
50 50
  * \param _qop qop value
51 51
  * \return 0 if challenge could be sended, -1 on failure
52 52
  */
53
-int proxy_challenge(struct sip_msg* _msg, char* _realm, char* _str2);
53
+int proxy_challenge(struct sip_msg* _msg, char* _realm, char* _qop);
54 54
 
55 55
 
56 56
 /*!
Browse code

- add doxygen documentation

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5211 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 17/11/2008 20:05:27
Showing 1 changed files
... ...
@@ -1,8 +1,6 @@
1 1
 /*
2 2
  * $Id$
3 3
  *
4
- * Challenge related functions
5
- *
6 4
  * Copyright (C) 2001-2003 FhG Fokus
7 5
  *
8 6
  * This file is part of Kamailio, a free SIP server.
... ...
@@ -22,6 +20,12 @@
22 20
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 21
  */
24 22
 
23
+/*!
24
+ * \file
25
+ * \brief Challenge related functions
26
+ * \ingroup auth
27
+ * - Module: \ref auth
28
+ */
25 29
 
26 30
 #ifndef CHALLENGE_H
27 31
 #define CHALLENGE_H
... ...
@@ -29,22 +33,34 @@
29 33
 #include "../../parser/msg_parser.h"
30 34
 
31 35
 
32
-/* 
33
- * Challenge a user agent using WWW-Authenticate header field
36
+/*!
37
+ * \brief Challenge a user to send credentials using WWW-Authorize header field
38
+ * \param _msg SIP message
39
+ * \param _realm authentification realm
40
+ * \param _qop qop value
41
+ * \return 0 if challenge could be sended, -1 on failure
34 42
  */
35 43
 int www_challenge(struct sip_msg* _msg, char* _realm, char* _str2);
36 44
 
37 45
 
38
-/*
39
- * Challenge a user agent using Proxy-Authenticate header field
46
+/*!
47
+ * \brief Challenge a user to send credentials using Proxy-Authorize header field
48
+ * \param _msg SIP message
49
+ * \param _realm authentification realm
50
+ * \param _qop qop value
51
+ * \return 0 if challenge could be sended, -1 on failure
40 52
  */
41 53
 int proxy_challenge(struct sip_msg* _msg, char* _realm, char* _str2);
42 54
 
43 55
 
44
-/*
45
- * Remove used credentials from a SIP message header
56
+/*!
57
+ * \brief Remove used credentials from a SIP message header
58
+ * \param _m SIP message
59
+ * \param _s1 unused
60
+ * \param _s2 unused
61
+ * \return 1 when credentials could be removed, -1 if not found or on failure
46 62
  */
47 63
 int consume_credentials(struct sip_msg* _m, char* _s1, char* _s2);
48 64
 
49 65
 
50
-#endif /* AUTH_H */
66
+#endif
Browse code

- change name in copyright headers

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4518 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 28/07/2008 15:39:28
Showing 1 changed files
... ...
@@ -5,14 +5,14 @@
5 5
  *
6 6
  * Copyright (C) 2001-2003 FhG Fokus
7 7
  *
8
- * This file is part of openser, a free SIP server.
8
+ * This file is part of Kamailio, a free SIP server.
9 9
  *
10
- * openser is free software; you can redistribute it and/or modify
10
+ * Kamailio is free software; you can redistribute it and/or modify
11 11
  * it under the terms of the GNU General Public License as published by
12 12
  * the Free Software Foundation; either version 2 of the License, or
13 13
  * (at your option) any later version
14 14
  *
15
- * openser is distributed in the hope that it will be useful,
15
+ * Kamailio is distributed in the hope that it will be useful,
16 16
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 17
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 18
  * GNU General Public License for more details.
Browse code

Initial revision

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@2 689a6050-402a-0410-94f2-e92a70836424

Bogdan-Andrei Iancu authored on 13/06/2005 16:47:24
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,50 @@
1
+/*
2
+ * $Id$
3
+ *
4
+ * Challenge related functions
5
+ *
6
+ * Copyright (C) 2001-2003 FhG Fokus
7
+ *
8
+ * This file is part of openser, a free SIP server.
9
+ *
10
+ * openser is free software; you can redistribute it and/or modify
11
+ * it under the terms of the GNU General Public License as published by
12
+ * the Free Software Foundation; either version 2 of the License, or
13
+ * (at your option) any later version
14
+ *
15
+ * openser is distributed in the hope that it will be useful,
16
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
+ * GNU General Public License for more details.
19
+ *
20
+ * You should have received a copy of the GNU General Public License 
21
+ * along with this program; if not, write to the Free Software 
22
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
+ */
24
+
25
+
26
+#ifndef CHALLENGE_H
27
+#define CHALLENGE_H
28
+
29
+#include "../../parser/msg_parser.h"
30
+
31
+
32
+/* 
33
+ * Challenge a user agent using WWW-Authenticate header field
34
+ */
35
+int www_challenge(struct sip_msg* _msg, char* _realm, char* _str2);
36
+
37
+
38
+/*
39
+ * Challenge a user agent using Proxy-Authenticate header field
40
+ */
41
+int proxy_challenge(struct sip_msg* _msg, char* _realm, char* _str2);
42
+
43
+
44
+/*
45
+ * Remove used credentials from a SIP message header
46
+ */
47
+int consume_credentials(struct sip_msg* _m, char* _s1, char* _s2);
48
+
49
+
50
+#endif /* AUTH_H */