[Evolution-hackers] camel namespacing
- From: Jeffrey Stedfast <fejj ximian com>
- To: evolution-hackers ximian com
- Subject: [Evolution-hackers] camel namespacing
- Date: Tue, 26 Aug 2003 13:28:46 -0400
here's the sed script used to namespace camel...
on top of these changes, I also moved
"typedef _CamelContentType CamelContentType;"
into camel-mime-utils.h
I have also saved the diffs in case anyone wants to take a look
--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com - www.ximian.com
#!/bin/bash
SOURCES=`find . -type f -name "*.[c,h]"`
for SRC in $SOURCES
do
sed -e "s/_header_state/_camel_mime_parser_state/g" \
-e "s/HSCAN/CAMEL_MIME_PARSER_STATE/g" \
-e "s/_header_content_type/_CamelContentType/g" \
-e "s/struct _CamelContentType \*/CamelContentType \*/g" \
-e "s/header_content_type_/camel_content_type_/g" \
-e "s/CamelMimeDisposition/CamelContentDisposition/g" \
-e "s/header_disposition_/camel_content_disposition_/g" \
-e "s/_header_address_type/_header_address_t/g" \
-e "s/header_/camel_header_/g" \
\
-e "s/camel_header_load/header_load/g" \
-e "s/camel_header_save/header_save/g" \
-e "s/camel_header_type/header_type/g" \
-e "s/camel_header_names/header_names/g" \
-e "s/camel_header_name_table/header_name_table/g" \
-e "s/camel_header_formatted_table/header_formatted_table/g" \
-e "s/camel_header_name/header_name/g" \
-e "s/camel_header_value/header_value/g" \
$SRC > $SRC.tmp
mv $SRC.tmp $SRC
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]