rem: if(info.if_unit >= 0) printf("Name: ppp%ld\n", info.if_unit);
add: if(info.info.if_unit >= 0) printf("Name: ppp%ld\n", info.info.if_unit); else printf("This interface is hidden! You can delete it by typing:\n" "pppconfig delete %ld\n", interface.ID());
context: create(const char *pppidf, bool bringUp = true){	PPPManager manager;	if(manager.InitCheck() != B_OK) {		fprintf(stderr, "Error: Could not load interface manager!\n");		return -1;	}		BString name = "pppidf/";	name << pppidf;		void *handle = load_driver_settings(name.String());	if(!handle) {		fprintf(stderr, "Error: Could not load PPP interface description file!\n");		return -1;	}		const driver_settings *settings = get_driver_settings(handle);	if(!settings) {		fprintf(stderr, "Error: Could not decode PPP interface description file!\n");		unload_driver_settings(handle);		return -1;	}		PPPInterface interface(manager.CreateInterface(settings));	if(interface.InitCheck() != B_OK) {		fprintf(stderr, "Error: Could not create interface!\n");		unload_driver_settings(handle);		return -1;	}		printf("Created interface with ID: %ld\n", interface.ID());		ppp_interface_info info;	interface.GetInterfaceInfo(&info);		if(info.if_unit >= 0)		printf("Name: ppp%ld\n", info.if_unit);		if(bringUp && !info.doesDialOnDemand) {		interface.Up();		printf("Connecting in background...\n");	}		unload_driver_settings(handle);		return 0;}