~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to tools/gsoap/gsoap-linux-2.7/plugin/.svn/text-base/logging.h.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 
3
 
logging.h
4
 
 
5
 
Message logging plugin.
6
 
 
7
 
This plugin flushes messages to stderr, but you can easily change it to send
8
 
data elsewhere.
9
 
 
10
 
gSOAP XML Web services tools
11
 
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
12
 
This part of the software is released under one of the following licenses:
13
 
GPL, the gSOAP public license, or Genivia's license for commercial use.
14
 
--------------------------------------------------------------------------------
15
 
gSOAP public license.
16
 
 
17
 
The contents of this file are subject to the gSOAP Public License Version 1.3
18
 
(the "License"); you may not use this file except in compliance with the
19
 
License. You may obtain a copy of the License at
20
 
http://www.cs.fsu.edu/~engelen/soaplicense.html
21
 
Software distributed under the License is distributed on an "AS IS" basis,
22
 
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
23
 
for the specific language governing rights and limitations under the License.
24
 
 
25
 
The Initial Developer of the Original Code is Robert A. van Engelen.
26
 
Copyright (C) 2000-2005, Robert van Engelen, Genivia, Inc., All Rights Reserved.
27
 
--------------------------------------------------------------------------------
28
 
GPL license.
29
 
 
30
 
This program is free software; you can redistribute it and/or modify it under
31
 
the terms of the GNU General Public License as published by the Free Software
32
 
Foundation; either version 2 of the License, or (at your option) any later
33
 
version.
34
 
 
35
 
This program is distributed in the hope that it will be useful, but WITHOUT ANY
36
 
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
37
 
PARTICULAR PURPOSE. See the GNU General Public License for more details.
38
 
 
39
 
You should have received a copy of the GNU General Public License along with
40
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
41
 
Place, Suite 330, Boston, MA 02111-1307 USA
42
 
 
43
 
Author contact information:
44
 
engelen@genivia.com / engelen@acm.org
45
 
--------------------------------------------------------------------------------
46
 
A commercial use license is available from Genivia, Inc., contact@genivia.com
47
 
--------------------------------------------------------------------------------
48
 
*/
49
 
 
50
 
#ifndef LOGGING_H
51
 
#define LOGGING_H
52
 
 
53
 
#include "stdsoap2.h"
54
 
 
55
 
#define LOGGING_ID "LOGGING-1.2"
56
 
 
57
 
extern const char logging_id[];
58
 
 
59
 
struct logging_data
60
 
{
61
 
  FILE *inbound;
62
 
  FILE *outbound;
63
 
  size_t stat_sent;
64
 
  size_t stat_recv;
65
 
  int (*fsend)(struct soap*, const char*, size_t); /* to save and use send callback */
66
 
  size_t (*frecv)(struct soap*, char*, size_t); /* to save and use recv callback */
67
 
};
68
 
 
69
 
int logging(struct soap *soap, struct soap_plugin *plugin, void *arg);
70
 
 
71
 
#endif