Logo Search packages:      
Sourcecode: madman version File versions  Download package

void libapetag_print_mem_cnt ( apetag mem_cnt  ) 

debug function print all tags exclude bin (print only size for bin)

Definition at line 512 of file apetaglib.c.

References _ape_mem_cnt::countTag, tag::flags, and _ape_mem_cnt::tag.

{
    int n;
    struct tag **mTag;
    
    mTag = (mem_cnt->tag);
    for (n = 0; (mem_cnt->countTag) > n; n++) {
        if ( (mTag[n]->flags & ~ITEM_TEXT) == 0 ||
            (mTag[n]->flags & ~ITEM_LINK) == 0 ) {
        printf (">apetaglib>PRINT>>F=%li SN=%li SV=%li N[%s] V[%s]\n", 
            mTag[n]->flags,
            (long) mTag[n]->sizeName, (long) mTag[n]->sizeValue, 
            mTag[n]->name, mTag[n]->value);
        } else {
        printf (">apetaglib>PRINT>>F=%li SN=%li SV=%li N[%s] V=BINARY\n",
            mTag[n]->flags,
            (long) mTag[n]->sizeName, (long) mTag[n]->sizeValue, 
            mTag[n]->name);
        }
    }
    
    return;
}


Generated by  Doxygen 1.6.0   Back to index