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


#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)


void EXTRACTOR_nsf_extract_method (struct EXTRACTOR_ExtractContext *ec)

Detailed Description

plugin to support Nes Sound Format files

Toni Ruottu
Christian Grothoff

Definition in file nsf_extractor.c.

Macro Definition Documentation


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

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

smetadata value as UTF8
tmetadata type to use

Definition at line 132 of file nsf_extractor.c.


#define DUAL_FLAG   0x02

Definition at line 33 of file nsf_extractor.c.


#define FDS_FLAG   0x04

Definition at line 38 of file nsf_extractor.c.


#define MMC5_FLAG   0x08

Definition at line 39 of file nsf_extractor.c.


#define NAMCO_FLAG   0x10

Definition at line 40 of file nsf_extractor.c.


#define PAL_FLAG   0x01

Definition at line 32 of file nsf_extractor.c.


#define SUNSOFT_FLAG   0x20

Definition at line 41 of file nsf_extractor.c.


#define VRCVI_FLAG   0x01

Definition at line 36 of file nsf_extractor.c.


#define VRCVII_FLAG   0x02

Definition at line 37 of file nsf_extractor.c.

Function Documentation

◆ EXTRACTOR_nsf_extract_method()