~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/bio/bio.h

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2006-05-15 16:00:58 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060515160058-pg6lnbkkpkwpdj2e
Tags: upstream-0.9.8b
ImportĀ upstreamĀ versionĀ 0.9.8b

Show diffs side-by-side

added added

removed removed

Lines of Context:
676
676
 
677
677
/*long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);*/
678
678
 
679
 
#ifndef __GNUC__
680
 
#define __attribute__(x)
 
679
#ifdef __GNUC__
 
680
#  define __bio_h__attr__ __attribute__
 
681
#else
 
682
#  define __bio_h__attr__(x)
681
683
#endif
682
684
int BIO_printf(BIO *bio, const char *format, ...)
683
 
        __attribute__((__format__(__printf__,2,3)));
 
685
        __bio_h__attr__((__format__(__printf__,2,3)));
684
686
int BIO_vprintf(BIO *bio, const char *format, va_list args)
685
 
        __attribute__((__format__(__printf__,2,0)));
 
687
        __bio_h__attr__((__format__(__printf__,2,0)));
686
688
int BIO_snprintf(char *buf, size_t n, const char *format, ...)
687
 
        __attribute__((__format__(__printf__,3,4)));
 
689
        __bio_h__attr__((__format__(__printf__,3,4)));
688
690
int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
689
 
        __attribute__((__format__(__printf__,3,0)));
 
691
        __bio_h__attr__((__format__(__printf__,3,0)));
 
692
#undef __bio_h__attr__
690
693
 
691
694
/* BEGIN ERROR CODES */
692
695
/* The following lines are auto generated by the script mkerr.pl. Any changes