OLD | NEW |
1 /* | 1 /* |
2 * | 2 * |
3 * Connection Manager | 3 * Connection Manager |
4 * | 4 * |
5 * Copyright (C) 2007-2009 Intel Corporation. All rights reserved. | 5 * Copyright (C) 2007-2009 Intel Corporation. All rights reserved. |
6 * | 6 * |
7 * This program is free software; you can redistribute it and/or modify | 7 * This program is free software; you can redistribute it and/or modify |
8 * it under the terms of the GNU General Public License version 2 as | 8 * it under the terms of the GNU General Public License version 2 as |
9 * published by the Free Software Foundation. | 9 * published by the Free Software Foundation. |
10 * | 10 * |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 int __connman_profile_save_service(struct connman_service *service); | 352 int __connman_profile_save_service(struct connman_service *service); |
353 int __connman_profile_load_device(struct connman_device *device); | 353 int __connman_profile_load_device(struct connman_device *device); |
354 int __connman_profile_save_device(struct connman_device *device); | 354 int __connman_profile_save_device(struct connman_device *device); |
355 int __connman_profile_load_ipconfig(struct connman_ipconfig *ipconfig); | 355 int __connman_profile_load_ipconfig(struct connman_ipconfig *ipconfig); |
356 int __connman_profile_save_ipconfig(const struct connman_ipconfig *ipconfig); | 356 int __connman_profile_save_ipconfig(const struct connman_ipconfig *ipconfig); |
357 | 357 |
358 int __connman_profile_append_hidden_ssids(GSList **hidden_ssids, | 358 int __connman_profile_append_hidden_ssids(GSList **hidden_ssids, |
359 void (*append_hidden_ssids)(GKeyFile *keyfile, GSList **hidden_ssids)); | 359 void (*append_hidden_ssids)(GKeyFile *keyfile, GSList **hidden_ssids)); |
360 | 360 |
361 void __connman_profile_list(DBusMessageIter *iter, void *); | 361 void __connman_profile_list(DBusMessageIter *iter, void *); |
| 362 const char *__connman_profile_get_path(const struct connman_profile *profile); |
| 363 struct connman_profile *__connman_profile_lookup_profile(const char *path); |
| 364 struct connman_profile *__connman_profile_active_profile(void); |
362 const struct connman_storage_ident *__connman_profile_active_ident(void); | 365 const struct connman_storage_ident *__connman_profile_active_ident(void); |
363 const char *__connman_profile_active_path(void); | 366 const char *__connman_profile_active_path(void); |
364 | 367 |
365 int __connman_profile_create(const char *name, const char **path); | 368 int __connman_profile_create(const char *name, const char **path); |
366 int __connman_profile_remove(const char *ident); | 369 int __connman_profile_remove(const char *ident); |
367 int __connman_profile_push(const char *ident, const char *name, | 370 int __connman_profile_push(const char *ident, const char *name, |
368 const char **path); | 371 const char **path); |
369 int __connman_profile_pop(const char *ident); | 372 int __connman_profile_pop(const char *ident); |
370 | 373 |
371 void __connman_profile_changed(gboolean delayed); | 374 int __connman_profile_delete_entry(struct connman_profile *profile, |
| 375 const char *group); |
| 376 |
| 377 void __connman_profile_changed(struct connman_profile *, gboolean delayed); |
372 | 378 |
373 int __connman_profile_add_device(struct connman_device *device); | 379 int __connman_profile_add_device(struct connman_device *device); |
374 int __connman_profile_remove_device(struct connman_device *device); | 380 int __connman_profile_remove_device(struct connman_device *device); |
375 | 381 |
376 int __connman_profile_add_network(struct connman_network *network); | 382 int __connman_profile_add_network(struct connman_network *network); |
377 int __connman_profile_update_network(struct connman_network *network); | 383 int __connman_profile_update_network(struct connman_network *network); |
378 int __connman_profile_remove_network(struct connman_network *network); | 384 int __connman_profile_remove_network(struct connman_network *network); |
379 | 385 |
380 #include <connman/provider.h> | 386 #include <connman/provider.h> |
381 | 387 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 connman_bool_t carrier); | 439 connman_bool_t carrier); |
434 int __connman_service_indicate_state(struct connman_service *service, | 440 int __connman_service_indicate_state(struct connman_service *service, |
435 enum connman_service_state state); | 441 enum connman_service_state state); |
436 int __connman_service_indicate_error(struct connman_service *service, | 442 int __connman_service_indicate_error(struct connman_service *service, |
437 enum connman_service_error error); | 443 enum connman_service_error error); |
438 int __connman_service_indicate_active(struct connman_service *service, | 444 int __connman_service_indicate_active(struct connman_service *service, |
439 connman_bool_t is_active); | 445 connman_bool_t is_active); |
440 | 446 |
441 connman_bool_t __connman_service_check_prepared(const struct connman_service *); | 447 connman_bool_t __connman_service_check_prepared(const struct connman_service *); |
442 | 448 |
443 void __connman_service_invalidate_profile(const struct connman_storage_ident *); | 449 struct connman_profile *__connman_service_get_profile(struct connman_service *); |
| 450 void __connman_service_set_profile(struct connman_service *service, |
| 451 » struct connman_profile *profile); |
444 | 452 |
445 enum connman_service_type connman_service_string2type(const char *str); | 453 enum connman_service_type connman_service_string2type(const char *str); |
446 void __connman_service_reset(struct connman_service *service); | 454 void __connman_service_reset(struct connman_service *service); |
447 DBusMessage *__connman_get_wifi_service(DBusMessage *msg); | 455 DBusMessage *__connman_get_wifi_service(DBusMessage *msg); |
448 DBusMessage *__connman_configure_wifi_service(DBusMessage *msg); | 456 DBusMessage *__connman_configure_wifi_service(DBusMessage *msg); |
449 | 457 |
450 int __connman_service_connect(struct connman_service *service); | 458 int __connman_service_connect(struct connman_service *service); |
451 int __connman_service_disconnect(struct connman_service *service); | 459 int __connman_service_disconnect(struct connman_service *service); |
452 struct connman_service *__connman_service_lookup(const char *identifier); | 460 struct connman_service *__connman_service_lookup(const char *identifier); |
453 int __connman_service_create_and_connect(DBusMessage *msg); | 461 int __connman_service_create_and_connect(DBusMessage *msg); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 void __connman_notifier_unregister(enum connman_service_type type); | 501 void __connman_notifier_unregister(enum connman_service_type type); |
494 void __connman_notifier_enable(enum connman_service_type type); | 502 void __connman_notifier_enable(enum connman_service_type type); |
495 void __connman_notifier_disable(enum connman_service_type type); | 503 void __connman_notifier_disable(enum connman_service_type type); |
496 void __connman_notifier_connect(enum connman_service_type type); | 504 void __connman_notifier_connect(enum connman_service_type type); |
497 void __connman_notifier_disconnect(enum connman_service_type type); | 505 void __connman_notifier_disconnect(enum connman_service_type type); |
498 void __connman_notifier_offlinemode(connman_bool_t enabled); | 506 void __connman_notifier_offlinemode(connman_bool_t enabled); |
499 void __connman_notifier_default_changed(struct connman_service *service); | 507 void __connman_notifier_default_changed(struct connman_service *service); |
500 void __connman_notifier_service_state_changed(struct connman_service *service); | 508 void __connman_notifier_service_state_changed(struct connman_service *service); |
501 void __connman_notifier_system_suspend(void); | 509 void __connman_notifier_system_suspend(void); |
502 void __connman_notifier_system_resume(void); | 510 void __connman_notifier_system_resume(void); |
| 511 void __connman_notifier_profile_push(struct connman_profile *); |
| 512 void __connman_notifier_profile_pop(struct connman_profile *); |
503 | 513 |
504 connman_bool_t __connman_notifier_is_enabled(enum connman_service_type type); | 514 connman_bool_t __connman_notifier_is_enabled(enum connman_service_type type); |
505 | 515 |
506 #include <connman/rtnl.h> | 516 #include <connman/rtnl.h> |
507 | 517 |
508 int __connman_rtnl_init(void); | 518 int __connman_rtnl_init(void); |
509 void __connman_rtnl_start(void); | 519 void __connman_rtnl_start(void); |
510 void __connman_rtnl_cleanup(void); | 520 void __connman_rtnl_cleanup(void); |
511 | 521 |
512 int __connman_rtnl_send(const void *buf, size_t len); | 522 int __connman_rtnl_send(const void *buf, size_t len); |
OLD | NEW |