added real media_server node management, removed bugs, added debug output

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1467 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2002-10-08 23:59:43 +00:00
parent defec30317
commit 1299bfb29f
16 changed files with 399 additions and 46 deletions
+2 -1
View File
@@ -6,7 +6,7 @@ template<class key, class value> class Map
public:
Map() : count(0) {}
void Insert(const key &k, const value &v)
bool Insert(const key &k, const value &v)
{
value temp;
if (count == MAXENT) debugger("template Map out of memory");
@@ -14,6 +14,7 @@ public:
list[count].k = k;
list[count].v = v;
count++;
return true;
}
bool Get(const key &k, value *v)