github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/GraphicsMagick/magick/signature.h (about)

     1  /*
     2    Copyright (C) 2003 GraphicsMagick Group
     3    Copyright (C) 2002 ImageMagick Studio
     4  
     5    This program is covered by multiple licenses, which are described in
     6    Copyright.txt. You should have received a copy of Copyright.txt with this
     7    package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
     8  
     9    Digital signature methods.
    10  */
    11  #ifndef _MAGICK_SIGNATURE_H
    12  #define _MAGICK_SIGNATURE_H
    13  
    14  #if defined(__cplusplus) || defined(c_plusplus)
    15  extern "C" {
    16  #endif
    17  
    18  /*
    19    Define declarations.
    20  */
    21  #define SignatureSize  64
    22  
    23  /*
    24    Typedef declarations.
    25  */
    26  typedef struct _SignatureInfo
    27  {
    28    unsigned long
    29      digest[8],
    30      low_order,
    31      high_order;
    32  
    33    long
    34      offset;
    35  
    36    unsigned char
    37      message[SignatureSize];
    38  } SignatureInfo;
    39  
    40  /*
    41    Method declarations.
    42  */
    43  extern MagickExport unsigned int
    44    SignatureImage(Image *);
    45  
    46  extern MagickExport void
    47    FinalizeSignature(SignatureInfo *),
    48    GetSignatureInfo(SignatureInfo *),
    49    TransformSignature(SignatureInfo *),
    50    UpdateSignature(SignatureInfo *,const unsigned char *,const size_t);
    51  
    52  #if defined(__cplusplus) || defined(c_plusplus)
    53  }
    54  #endif
    55  
    56  #endif
    57  
    58  /*
    59   * Local Variables:
    60   * mode: c
    61   * c-basic-offset: 2
    62   * fill-column: 78
    63   * End:
    64   */