/usr/lib/emboss/include/ajfmt.h is in emboss-lib 6.3.1-6ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | #ifdef __cplusplus
extern "C"
{
#endif
#ifndef ajfmt_h
#define ajfmt_h
#include <stdarg.h>
#include <stdio.h>
#include "ajexcept.h"
#if defined(__x86_64__) && !defined(__amd64__)
#define __amd64__
#endif
#if defined(__amd64__) || defined(__EM64T__) || \
defined(__PPC__) && defined(_CALL_SYSV)
#define VALIST va_list
#define VA_P(x) (x)
#define VA_V(x) (x)
#else
#define VALIST va_list*
#define VA_P(x) (&x)
#define VA_V(x) (*x)
#endif
/*
** Prototype definitions
*/
void ajFmtFmt (int put(int c, void *cl), void *cl,
const char *fmt, ...);
void ajFmtVfmt (int put(int c, void *cl), void *cl,
const char *fmt, va_list ap);
void ajFmtError (const char *fmt, ...);
void ajFmtVError (const char *fmt, va_list ap);
void ajFmtPrint (const char *fmt, ...);
void ajFmtVPrint (const char *fmt, va_list ap);
void ajFmtPrintFp (FILE *stream,
const char *fmt, ...);
void ajFmtVPrintFp (FILE *stream,
const char *fmt, va_list ap);
void ajFmtPrintF (AjPFile file,
const char *fmt, ...);
void ajFmtVPrintF (AjPFile file,
const char *fmt, va_list ap);
ajint ajFmtPrintCL (char *buf, ajint size,
const char *fmt, ...);
ajint ajFmtVPrintCL (char *buf, ajint size,
const char *fmt, va_list ap);
void ajFmtPrintSplit(AjPFile outf, const AjPStr str,
const char *prefix, ajint len,
const char *delim);
char* ajFmtString (const char *fmt, ...);
char* ajFmtVString(const char *fmt, va_list ap);
void ajFmtPutd (const char *str, ajint len,
int put(int c, void *cl), void *cl,
const ajuint* flags, ajint width, ajint precision);
void ajFmtPuts (const char *str, ajint len,
int put(int c, void *cl), void *cl,
const ajuint* flags, ajint width, ajint precision);
AjPStr ajFmtStr (const char *fmt, ...);
AjPStr ajFmtPrintS (AjPStr *pthis, const char *fmt, ...) ;
AjPStr ajFmtVPrintS (AjPStr *pthis, const char *fmt, va_list ap) ;
AjPStr ajFmtPrintAppS (AjPStr *pthis, const char *fmt, ...) ;
ajint ajFmtVfmtCL (char* buf, ajint size, const char* fmt,
va_list ap);
ajint ajFmtVfmtStrCL (char** buf, ajint pos, ajuint *size,
const char* fmt, va_list ap);
ajint ajFmtScanS (const AjPStr thys, const char* fmt, ...);
ajint ajFmtScanC (const char* thys, const char* fmt, ...);
ajint ajFmtScanF (AjPFile thys, const char* fmt, ...);
/*
** End of prototype definitions
*/
#endif
#ifdef __cplusplus
}
#endif
|