]>
git.ipfire.org Git - thirdparty/rsync.git/blob - io.h
2 * Copyright (C) 2007 Wayne Davison
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
18 extern int protocol_version
;
21 read_abbrevint30(int f
)
23 if (protocol_version
< 30)
25 return read_abbrevint(f
);
29 write_abbrevint30(int f
, int32 x
)
31 if (protocol_version
< 30)
34 write_abbrevint(f
, x
);