/*
* Copyright (C) 2016, 2018 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <config.h>
#include <string.h>
struct isc_ht_node {
void *value;
};
struct isc_ht {
unsigned int magic;
unsigned int count;
};
struct isc_ht_iter {
size_t i;
};
size_t i;
return (ISC_R_NOMEMORY);
}
return (ISC_R_NOMEMORY);
}
}
return (ISC_R_SUCCESS);
}
void
size_t i;
}
}
}
{
return (ISC_R_EXISTS);
}
}
return (ISC_R_NOMEMORY);
return (ISC_R_SUCCESS);
}
{
return (ISC_R_SUCCESS);
}
}
return (ISC_R_NOTFOUND);
}
else
return (ISC_R_SUCCESS);
}
}
return (ISC_R_NOTFOUND);
}
return (ISC_R_NOMEMORY);
it->i = 0;
return (ISC_R_SUCCESS);
}
void
}
it->i = 0;
it->i++;
return (ISC_R_NOMORE);
return (ISC_R_SUCCESS);
}
do {
it->i++;
return (ISC_R_NOMORE);
}
return (ISC_R_SUCCESS);
}
do {
it->i++;
else
}
NULL);
}
else
return (result);
}
void
}
void
{
}
unsigned int
}