From f31c8912594431b4432b1163041ea0cedada2b5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Thu, 25 Aug 2005 20:43:45 +0000 Subject: [PATCH] Added indent hints to proto templates. Generated new proto.h. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@989 423420c4-83ab-492f-b58f-81f9feb106b5 --- proto.h | 35 +++++++++++++++++++++++++++++++++++ proto.head | 2 ++ proto.tail | 2 ++ 3 files changed, 39 insertions(+) diff --git a/proto.h b/proto.h index dcc2909..dc2189b 100644 --- a/proto.h +++ b/proto.h @@ -1,3 +1,30 @@ +/* -*- c-basic-offset: 8 -*- + rdesktop: A Remote Desktop Protocol client. + Copyright (C) Matthew Chapman 1999-2005 + + 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., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#ifndef RDESKTOP_PROTO_H +#define RDESKTOP_PROTO_H + +/* *INDENT-OFF* */ +#ifdef __cplusplus +extern "C" { +#endif +/* *INDENT-ON* */ /* bitmap.c */ BOOL bitmap_decompress(uint8 * output, int width, int height, uint8 * input, int size, int Bpp); /* cache.c */ @@ -242,3 +269,11 @@ void ui_desktop_save(uint32 offset, int x, int y, int cx, int cy); void ui_desktop_restore(uint32 offset, int x, int y, int cx, int cy); void ui_begin_update(void); void ui_end_update(void); + +/* *INDENT-OFF* */ +#ifdef __cplusplus +} +#endif +/* *INDENT-ON* */ + +#endif diff --git a/proto.head b/proto.head index 0b17121..7b3f6df 100644 --- a/proto.head +++ b/proto.head @@ -20,6 +20,8 @@ #ifndef RDESKTOP_PROTO_H #define RDESKTOP_PROTO_H +/* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { #endif +/* *INDENT-ON* */ diff --git a/proto.tail b/proto.tail index f72a93b..6b1530a 100644 --- a/proto.tail +++ b/proto.tail @@ -1,6 +1,8 @@ +/* *INDENT-OFF* */ #ifdef __cplusplus } #endif +/* *INDENT-ON* */ #endif