abbra / slapi-nis

Forked from slapi-nis 7 years ago
Clone

aa5e737 src/format.c: remove pb from the internal functions signatures

Authored and Committed by abbra 6 years ago
1 file changed. 101 lines added. 121 lines removed.
    src/format.c: remove pb from the internal functions signatures
    
    wrap_pblock_new() takes a parent pblock but never uses it as
    389-ds SLAPI has no concept of parent/child pblocks. Remove pblock
    from the parameters where possible.
    
    There are two cases left:
     - backend_get_set_config() takes pblock and then passes it to
       wrap_pblock_new() to create a 'child' pblock, we can pass NULL
       here to avoid changing external API
    
     - wrap_search_internal_get_entry() takes pblock and then passes it
       to wrap_pblock_new() to create a 'child' pblock, we can pass
       NULL here to avoid changing external API
    
        
file modified
+101 -121