Print this page
rm code review

Split Close
Expand all
Collapse all
          --- old/usr/src/common/ctf/ctf_impl.h
          +++ new/usr/src/common/ctf/ctf_impl.h
↓ open down ↓ 246 lines elided ↑ open up ↑
 247  247  #define LCTF_MMAP       0x0001  /* libctf should munmap buffers on close */
 248  248  #define LCTF_CHILD      0x0002  /* CTF container is a child */
 249  249  #define LCTF_RDWR       0x0004  /* CTF container is writable */
 250  250  #define LCTF_DIRTY      0x0008  /* CTF container has been modified */
 251  251  
 252  252  #define CTF_ELF_SCN_NAME        ".SUNW_ctf"
 253  253  
 254  254  extern ssize_t ctf_get_ctt_size(const ctf_file_t *, const ctf_type_t *,
 255  255      ssize_t *, ssize_t *);
 256  256  
      257 +extern void ctf_set_ctt_size(ctf_type_t *, ssize_t);
      258 +
 257  259  extern const ctf_type_t *ctf_lookup_by_id(ctf_file_t **, ctf_id_t);
 258  260  
 259  261  extern ctf_file_t *ctf_fdcreate_int(int, int *, ctf_sect_t *);
 260  262  
 261  263  extern int ctf_hash_create(ctf_hash_t *, ulong_t);
 262  264  extern int ctf_hash_insert(ctf_hash_t *, ctf_file_t *, ushort_t, uint_t);
 263  265  extern int ctf_hash_define(ctf_hash_t *, ctf_file_t *, ushort_t, uint_t);
 264  266  extern ctf_helem_t *ctf_hash_lookup(ctf_hash_t *, ctf_file_t *,
 265  267      const char *, size_t);
 266  268  extern uint_t ctf_hash_size(const ctf_hash_t *);
↓ open down ↓ 65 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX