aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ftutil.h
blob: 09c1104e59014bf2253d2fa81a0ff07296131995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/***************************************************************************\
*                                                                           *
*  BitlBee - An IRC to IM gateway                                           *
*  Utility functions for file transfer                                      *
*                                                                           *
*  Copyright 2008 Uli Meis <a.sporto+bee@gmail.com>                         *
*                                                                           *
*  This program is free software; you can redistribute it and/or modify     *
*  it under the terms of the GNU General Public License as published by     *
*  the Free Software Foundation; either version 2 of the License, or        *
*  (at your option) any later version.                                      *
*                                                                           *
*  This program is distributed in the hope that it will be useful,          *
*  but WITHOUT ANY WARRANTY; without even the implied warranty of           *
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            *
*  GNU General Public License for more details.                             *
*                                                                           *
*  You should have received a copy of the GNU General Public License along  *
*  with this program; if not, write to the Free Software Foundation, Inc.,  *
*  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.              *
*                                                                           *
\***************************************************************************/

#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0x0400   /* Don't use name resolution.  */
#endif

/* Some ifdefs for ulibc and apparently also BSD (Thanks to Whoopie) */
#ifndef HOST_NAME_MAX
#include <sys/param.h>
#ifdef MAXHOSTNAMELEN
#define HOST_NAME_MAX MAXHOSTNAMELEN
#else
#define HOST_NAME_MAX 255
#endif
#endif

/* This function should be used with care. host should be AT LEAST a
   char[HOST_NAME_MAX+1] and port AT LEAST a char[6]. */
int ft_listen( struct sockaddr_storage *saddr_ptr, char *host, char *port, int copy_fd, int for_bitlbee_client, char **errptr );
alue='55d7a012db2d37e2fcd9976a87ea03d21af3490e'/>
path: root/vendor/ruby-ole/ChangeLog
blob: 1e7c80b59b3170c8f9de23b6869289c81ab30e4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
== 1.2.8.2 / 2009-01-01

- Update code to support ruby 1.9.1

== 1.2.8.1 / 2008-10-22

- Fix a couple of breakages when using $KCODE = 'UTF8'

== 1.2.8 / 2008-10-08

- Check in the new fixes to the mbat support.
- Update README to be a bit more useful.

== 1.2.7 / 2008-08-12

- Prepare Ole::Types::PropertySet for write support.
- Introduce Ole::Storage#meta_data as an easy interface to meta data stored
  within various property sets.
- Add new --metadata action to oletool to dump said metadata.
- Add new --mimetype action to oletool, and corresponding Ole::Storage#mime_type
  function to try to guess mime type of a file based on some simple heuristics.
- Restructure project files a bit, and pull in file_system & meta_data support
  by default.
- More tests - now have 100% coverage.

== 1.2.6 / 2008-07-21

- Fix FileClass#expand_path to work properly on darwin (issue #2)
- Guard against Enumerable#sum clash with active support (issue #3)

== 1.2.5 / 2008-02-16

- Make all tests pass on ruby 1.9.

== 1.2.4 / 2008-01-09

- Make all tests pass on windows (issue #1).
- Make all tests pass on a power pc (running ubuntu).
- Property set convenience access functions.

== 1.2.3 / 2007-12-28

- MBAT write support re-implmented. Can now write files over ~8mb again.
- Minor fixes (truncation in #flush, file modification timestamps)
- More test coverage
- Initial (read-only) property set support.
- Complete filesystem api, to pass most of the rubyzip tests.
- Add a ChangeLog :).

== 1.2.2 / 2007-11-05

- Lots of test updates, 90% coverage.
- Fix +to_tree+ method to be more efficient, and stream output.
- Optimizations from benchmarks and profiling, mostly for writes. Fixed
  AllocationTable#resize_chain, RangesIOResizable#truncate and
  AllocationTable#free_block.
- Add in filesystem test file from rubyzip, and start working on a
  filesystem api.

== 1.2.1 / 2007-08-20

- Separate out from ruby-msg as new project.