Deleted Added
full compact
cdf.h (302408) cdf.h (309847)
1/*-
2 * Copyright (c) 2008 Christos Zoulas
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 302 unchanged lines hidden (view full) ---

311 const cdf_sat_t *, const cdf_dir_t *, cdf_stream_t *,
312 const cdf_directory_t **);
313int cdf_read_property_info(const cdf_stream_t *, const cdf_header_t *, uint32_t,
314 cdf_property_info_t **, size_t *, size_t *);
315int cdf_read_user_stream(const cdf_info_t *, const cdf_header_t *,
316 const cdf_sat_t *, const cdf_sat_t *, const cdf_stream_t *,
317 const cdf_dir_t *, const char *, cdf_stream_t *);
318int cdf_find_stream(const cdf_dir_t *, const char *, int);
1/*-
2 * Copyright (c) 2008 Christos Zoulas
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 302 unchanged lines hidden (view full) ---

311 const cdf_sat_t *, const cdf_dir_t *, cdf_stream_t *,
312 const cdf_directory_t **);
313int cdf_read_property_info(const cdf_stream_t *, const cdf_header_t *, uint32_t,
314 cdf_property_info_t **, size_t *, size_t *);
315int cdf_read_user_stream(const cdf_info_t *, const cdf_header_t *,
316 const cdf_sat_t *, const cdf_sat_t *, const cdf_stream_t *,
317 const cdf_dir_t *, const char *, cdf_stream_t *);
318int cdf_find_stream(const cdf_dir_t *, const char *, int);
319int cdf_zero_stream(cdf_stream_t *);
320int cdf_read_doc_summary_info(const cdf_info_t *, const cdf_header_t *,
321 const cdf_sat_t *, const cdf_sat_t *, const cdf_stream_t *,
322 const cdf_dir_t *, cdf_stream_t *);
319int cdf_read_summary_info(const cdf_info_t *, const cdf_header_t *,
320 const cdf_sat_t *, const cdf_sat_t *, const cdf_stream_t *,
321 const cdf_dir_t *, cdf_stream_t *);
322int cdf_unpack_summary_info(const cdf_stream_t *, const cdf_header_t *,
323 cdf_summary_info_header_t *, cdf_property_info_t **, size_t *);
324int cdf_unpack_catalog(const cdf_header_t *, const cdf_stream_t *,
325 cdf_catalog_t **);
326int cdf_print_classid(char *, size_t, const cdf_classid_t *);

--- 4 unchanged lines hidden (view full) ---

331uint64_t cdf_tole8(uint64_t);
332char *cdf_ctime(const time_t *, char *);
333char *cdf_u16tos8(char *, size_t, const uint16_t *);
334
335#ifdef CDF_DEBUG
336void cdf_dump_header(const cdf_header_t *);
337void cdf_dump_sat(const char *, const cdf_sat_t *, size_t);
338void cdf_dump(const void *, size_t);
323int cdf_read_summary_info(const cdf_info_t *, const cdf_header_t *,
324 const cdf_sat_t *, const cdf_sat_t *, const cdf_stream_t *,
325 const cdf_dir_t *, cdf_stream_t *);
326int cdf_unpack_summary_info(const cdf_stream_t *, const cdf_header_t *,
327 cdf_summary_info_header_t *, cdf_property_info_t **, size_t *);
328int cdf_unpack_catalog(const cdf_header_t *, const cdf_stream_t *,
329 cdf_catalog_t **);
330int cdf_print_classid(char *, size_t, const cdf_classid_t *);

--- 4 unchanged lines hidden (view full) ---

335uint64_t cdf_tole8(uint64_t);
336char *cdf_ctime(const time_t *, char *);
337char *cdf_u16tos8(char *, size_t, const uint16_t *);
338
339#ifdef CDF_DEBUG
340void cdf_dump_header(const cdf_header_t *);
341void cdf_dump_sat(const char *, const cdf_sat_t *, size_t);
342void cdf_dump(const void *, size_t);
339void cdf_dump_stream(const cdf_header_t *, const cdf_stream_t *);
343void cdf_dump_stream(const cdf_stream_t *);
340void cdf_dump_dir(const cdf_info_t *, const cdf_header_t *, const cdf_sat_t *,
341 const cdf_sat_t *, const cdf_stream_t *, const cdf_dir_t *);
342void cdf_dump_property_info(const cdf_property_info_t *, size_t);
343void cdf_dump_summary_info(const cdf_header_t *, const cdf_stream_t *);
344void cdf_dump_catalog(const cdf_header_t *, const cdf_stream_t *);
345#endif
346
347
348#endif /* _H_CDF_ */
344void cdf_dump_dir(const cdf_info_t *, const cdf_header_t *, const cdf_sat_t *,
345 const cdf_sat_t *, const cdf_stream_t *, const cdf_dir_t *);
346void cdf_dump_property_info(const cdf_property_info_t *, size_t);
347void cdf_dump_summary_info(const cdf_header_t *, const cdf_stream_t *);
348void cdf_dump_catalog(const cdf_header_t *, const cdf_stream_t *);
349#endif
350
351
352#endif /* _H_CDF_ */