libextractor  1.11
About: GNU libextractor is a library used to extract meta-data from files of arbitrary type.
  Fossies Dox: libextractor-1.11.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

nsf_extractor.c File Reference

plugin to support Nes Sound Format files More...

#include "platform.h"
#include "extractor.h"
Include dependency graph for nsf_extractor.c:

Go to the source code of this file.

Data Structures

struct  header
 

Macros

#define PAL_FLAG   0x01
 
#define DUAL_FLAG   0x02
 
#define VRCVI_FLAG   0x01
 
#define VRCVII_FLAG   0x02
 
#define FDS_FLAG   0x04
 
#define MMC5_FLAG   0x08
 
#define NAMCO_FLAG   0x10
 
#define SUNSOFT_FLAG   0x20
 
#define ADD(s, t)
 

Functions

void EXTRACTOR_nsf_extract_method (struct EXTRACTOR_ExtractContext *ec)
 

Detailed Description

plugin to support Nes Sound Format files

Author
Toni Ruottu
Christian Grothoff

Definition in file nsf_extractor.c.

Macro Definition Documentation

◆ ADD

#define ADD (   s,
 
)
Value:
do { if (0 != ec->proc (ec->cls, "nsf", t, \
"text/plain", s, strlen (s) \
+ 1)) return; \
} while (0)
@ EXTRACTOR_METAFORMAT_UTF8
Definition: extractor.h:102

Give metadata to LE; return if 'proc' returns non-zero.

Parameters
smetadata value as UTF8
tmetadata type to use

Definition at line 132 of file nsf_extractor.c.

◆ DUAL_FLAG

#define DUAL_FLAG   0x02

Definition at line 33 of file nsf_extractor.c.

◆ FDS_FLAG

#define FDS_FLAG   0x04

Definition at line 38 of file nsf_extractor.c.

◆ MMC5_FLAG

#define MMC5_FLAG   0x08

Definition at line 39 of file nsf_extractor.c.

◆ NAMCO_FLAG

#define NAMCO_FLAG   0x10

Definition at line 40 of file nsf_extractor.c.

◆ PAL_FLAG

#define PAL_FLAG   0x01

Definition at line 32 of file nsf_extractor.c.

◆ SUNSOFT_FLAG

#define SUNSOFT_FLAG   0x20

Definition at line 41 of file nsf_extractor.c.

◆ VRCVI_FLAG

#define VRCVI_FLAG   0x01

Definition at line 36 of file nsf_extractor.c.

◆ VRCVII_FLAG

#define VRCVII_FLAG   0x02

Definition at line 37 of file nsf_extractor.c.

Function Documentation

◆ EXTRACTOR_nsf_extract_method()