Show
Ignore:
Timestamp:
06/02/07 08:06:28 (17 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