KeyfileReadHandler


Description:

[ CCode ( instance_pos = 4.9 ) ]
[ Version ( since = "1.30" ) ]
public delegate bool KeyfileReadHandler (KeyFile keyfile, Connection connection, KeyfileHandlerType handler_type, KeyfileHandlerData handler_data)

Hook to keyfile_read.

The callee may abort the reading by setting an error via fail_with_error.

Parameters:

keyfile

the KeyFile that is currently read

connection

the Connection that is being constructed.

handler_type

the nmkeyfilehandlertype that indicates which type the request is.

handler_data

the KeyfileHandlerData. What you can do with it depends on the handler_type.

user_data

the user-data argument to keyfile_read.

Returns:

the callee should return TRUE, if the event was handled and/or recognized. Otherwise, a default action will be performed that depends on the type. For nm_keyfile_handler_type_warn type, the default action is doing nothing.


Namespace: NM
Package: libnm