aqbanking  5.1.0beta
httpsession.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Mon Mar 01 2004
3  copyright : (C) 2004-2010 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * This file is part of the project "AqBanking". *
8  * Please see toplevel file COPYING of that project for license details. *
9  ***************************************************************************/
10 
11 
12 #ifndef AB_HTTPSESS_H
13 #define AB_HTTPSESS_H
14 
15 #include <aqbanking/user.h>
16 #include <aqbanking/provider.h>
17 
18 #include <gwenhywfar/httpsession.h>
19 
20 
28 
29 
35 GWEN_HTTP_SESSION *AB_HttpSession_new(AB_PROVIDER *pro, AB_USER *u,
36  const char *url,
37  const char *defaultProto,
38  int defaultPort);
39 
49 AB_USER *AB_HttpSession_GetUser(const GWEN_HTTP_SESSION *sess);
50 
52 AB_PROVIDER *AB_HttpSession_GetProvider(const GWEN_HTTP_SESSION *sess);
53 
55 void Ab_HttpSession_AddLog(GWEN_HTTP_SESSION *sess,
56  const char *s);
57 
59 const char *AB_HttpSession_GetLog(const GWEN_HTTP_SESSION *sess);
60 
62 void AB_HttpSession_ClearLog(GWEN_HTTP_SESSION *sess);
63 
64 
65 
69  /* defgroup */
70 
71 
72 
73 #endif
74