Changeset 7764378 for doc/ABAC.hh


Ignore:
Timestamp:
Sep 26, 2013 7:57:59 AM (6 years ago)
Author:
Mei <mei@…>
Branches:
abac0-leak, master
Children:
80f0770
Parents:
f2622ee
Message:

1) tweak according valgrind's leak report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/ABAC.hh

    r4f79997 r7764378  
    2525            int load_id_file(char *filename) { return abac_context_load_id_file(m_ctx, filename); }
    2626            int load_id_chunk(abac_chunk_t cert) { return abac_context_load_id_chunk(m_ctx, cert); }
     27            int load_id_id(ID& id); /* defined later in the class */
    2728            int load_attribute_file(char *filename) { return abac_context_load_attribute_file(m_ctx, filename); }
    2829            int load_attribute_chunk(abac_chunk_t cert) { return abac_context_load_attribute_chunk(m_ctx, cert); }
     
    6667            abac_context_t *m_ctx;
    6768        friend class Role;
     69        friend class ID;
    6870        friend class Attribute;
    6971    };
     
    198200
    199201            friend class Attribute;
     202            friend class Context;
    200203
    201204        private:
     
    282285            abac_attribute_t *m_attr;
    283286    };
     287
     288    int Context::load_id_id(ID& id)
     289    { return abac_context_load_id_id(m_ctx, id.m_id); }
    284290}
    285291
Note: See TracChangeset for help on using the changeset viewer.