]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 26 Sep 2011 18:27:50 +0000 (18:27 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 26 Sep 2011 18:27:50 +0000 (18:27 +0000)
MagickCore/string-private.h
MagickCore/string.c
MagickCore/string_.h

index b495ef55e044750240a6209cdd8af86e68a03a21..b3dd2e16d41f7bb4e105842560866cf29968f561 100644 (file)
 extern "C" {
 #endif
 
-extern MagickPrivate char
-  *GetEnvironmentValue(const char *);
-
-extern MagickPrivate ssize_t
-  FormatMagickSize(const MagickSizeType,const MagickBooleanType,char *);
-
-extern MagickPrivate StringInfo
-  *ConfigureFileToStringInfo(const char *);
-
 static inline double SiPrefixToDouble(const char *string,const double interval)
 {
   char
index 3cf6d42ca13e777c8dc5d4f88ac7f33a685f4a99..30e4f0378dee2572b29958ee750c03b6f56303c3 100644 (file)
@@ -3,33 +3,33 @@
 %                                                                             %
 %                                                                             %
 %                                                                             %
-%                  SSSSS   TTTTT  RRRR   IIIII  N   N   GGGG                  %
-%                  SS        T    R   R    I    NN  N  G                      %
-%                   SSS      T    RRRR     I    N N N  G GGG                  %
-%                     SS     T    R R      I    N  NN  G   G                  %
-%                  SSSSS     T    R  R   IIIII  N   N   GGGG                  %
+%                  sssss   ttttt  rrrr   iiiii  n   n   gggg                  %
+%                  ss        t    r   r    i    nn  n  g                      %
+%                   sss      t    rrrr     i    n n n  g ggg                  %
+%                     ss     t    r r      i    n  nn  g   g                  %
+%                  sssss     t    r  r   iiiii  n   n   gggg                  %
 %                                                                             %
 %                                                                             %
-%                        MagickCore String Methods                            %
+%                        MagickCore string methods                            %
 %                                                                             %
-%                             Software Design                                 %
-%                               John Cristy                                   %
-%                               August 2003                                   %
+%                             software design                                 %
+%                               john cristy                                   %
+%                               august 2003                                   %
 %                                                                             %
 %                                                                             %
-%  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization      %
+%  copyright 1999-2011 imagemagick studio llc, a non-profit organization      %
 %  dedicated to making software imaging solutions freely available.           %
 %                                                                             %
-%  You may not use this file except in compliance with the License.  You may  %
-%  obtain a copy of the License at                                            %
+%  you may not use this file except in compliance with the license.  you may  %
+%  obtain a copy of the license at                                            %
 %                                                                             %
 %    http://www.imagemagick.org/script/license.php                            %
 %                                                                             %
-%  Unless required by applicable law or agreed to in writing, software        %
-%  distributed under the License is distributed on an "AS IS" BASIS,          %
-%  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   %
-%  See the License for the specific language governing permissions and        %
-%  limitations under the License.                                             %
+%  unless required by applicable law or agreed to in writing, software        %
+%  distributed under the license is distributed on an "as is" basis,          %
+%  without warranties or conditions of any kind, either express or implied.   %
+%  see the license for the specific language governing permissions and        %
+%  limitations under the license.                                             %
 %                                                                             %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
@@ -37,7 +37,7 @@
 */
 \f
 /*
-  Include declarations.
+  include declarations.
 */
 #include "MagickCore/studio.h"
 #include "MagickCore/blob.h"
 #include "MagickCore/utility-private.h"
 \f
 /*
-  Static declarations.
+  static declarations.
 */
 #if !defined(MAGICKCORE_HAVE_STRCASECMP) || !defined(MAGICKCORE_HAVE_STRNCASECMP)
 static const unsigned char
-  AsciiMap[] =
+  asciimap[] =
   {
     0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b,
     0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
@@ -564,7 +564,7 @@ MagickExport void ConcatenateStringInfo(StringInfo *string_info,
 %    o filename: the filename.
 %
 */
-MagickPrivate StringInfo *ConfigureFileToStringInfo(const char *filename)
+MagickExport StringInfo *ConfigureFileToStringInfo(const char *filename)
 {
   char
     *string;
@@ -1052,7 +1052,7 @@ MagickExport StringInfo *FileToStringInfo(const char *filename,
 %    o format:  human readable format.
 %
 */
-MagickPrivate ssize_t FormatMagickSize(const MagickSizeType size,
+MagickExport ssize_t FormatMagickSize(const MagickSizeType size,
   const MagickBooleanType bi,char *format)
 {
   const char
@@ -1206,7 +1206,7 @@ MagickExport ssize_t FormatMagickTime(const time_t time,const size_t length,
 %    o name: the environment name.
 %
 */
-MagickPrivate char *GetEnvironmentValue(const char *name)
+MagickExport char *GetEnvironmentValue(const char *name)
 {
   const char
     *environment;
index 03b67d49f8cc1e6786ef6d337966707d6cb63800..fd91415d88d0fc2176a24542bf127218f56f2b54 100644 (file)
@@ -47,6 +47,7 @@ extern MagickExport char
   **DestroyStringList(char **),
   *EscapeString(const char *,const char),
   *FileToString(const char *,const size_t,ExceptionInfo *),
+  *GetEnvironmentValue(const char *),
   *StringInfoToHexString(const StringInfo *),
   *StringInfoToString(const StringInfo *),
   **StringToArgv(const char *,int *),
@@ -73,12 +74,14 @@ extern MagickExport size_t
   GetStringInfoLength(const StringInfo *);
 
 extern MagickExport ssize_t
+  FormatMagickSize(const MagickSizeType,const MagickBooleanType,char *),
   FormatMagickTime(const time_t,const size_t,char *);
 
 extern MagickExport StringInfo
   *AcquireStringInfo(const size_t),
   *BlobToStringInfo(const void *,const size_t),
   *CloneStringInfo(const StringInfo *),
+  *ConfigureFileToStringInfo(const char *),
   *DestroyStringInfo(StringInfo *),
   *FileToStringInfo(const char *,const size_t,ExceptionInfo *),
   *SplitStringInfo(StringInfo *,const size_t),