def set_option(*opt):
 inp = [create_string_buffer(x.encode('ascii')) for x in (('libhlc',) + opt)]
 argc = len(inp)
 argv = (c_char_p * argc)()
 for i in range(argc):
  argv[i] = addressof(inp[i])
 hlc.HLC_SetCommandLineOption(argc, byref(argv))

def set_option ( * opt ) : inp = [ create_string_buffer ( x . encode ( 'ascii' ) ) for x in ( ( 'libhlc' , ) + opt ) ] argc = len ( inp ) argv = ( c_char_p * argc ) ( ) for i in range ( argc ) : argv [ i ] = addressof ( inp [ i ] ) hlc . HLC_SetCommandLineOption ( argc , byref ( argv ) )
set_option set the value of an ldap global option .