Show
Ignore:
Timestamp:
06/02/07 08:06:28 (16 years ago)
Author:
wagi
Message:

- save cache information to $(localstatedir)/cache/libffade
- refactoring of build and load cache function

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libieee1394/configrom.cpp

    r462 r478  
    384384{ 
    385385    return m_guid; 
     386} 
     387 
     388const Glib::ustring 
     389ConfigRom::getGuidString() const 
     390{ 
     391    char* buf; 
     392    asprintf( &buf, "%08x%08x", 
     393              ( unsigned int ) ( getGuid() >> 32 ), 
     394              ( unsigned int ) ( getGuid() & 0xffffffff ) ); 
     395    Glib::ustring result = buf; 
     396    free( buf ); 
     397    return result; 
    386398} 
    387399 
  • trunk/libffado/src/libieee1394/configrom.h

    r445 r478  
    5252    const fb_nodeid_t getNodeId() const; 
    5353    const fb_octlet_t getGuid() const; 
     54    const Glib::ustring getGuidString() const; 
    5455    const Glib::ustring getModelName() const; 
    5556    const Glib::ustring getVendorName() const;