• Home
  • Raw
  • Download

Lines Matching refs:al

98   CamAL *al = g_new0 (CamAL, 1);  in cam_al_new()  local
100 al->sl = sl; in cam_al_new()
101 al->applications = g_hash_table_new (resource_id_hash, g_direct_equal); in cam_al_new()
103 sl->user_data = al; in cam_al_new()
109 return al; in cam_al_new()
113 cam_al_destroy (CamAL * al) in cam_al_destroy() argument
115 g_hash_table_destroy (al->applications); in cam_al_destroy()
116 g_free (al); in cam_al_destroy()
120 cam_al_install (CamAL * al, CamALApplication * application) in cam_al_install() argument
122 if (g_hash_table_lookup (al->applications, in cam_al_install()
126 application->al = al; in cam_al_install()
128 g_hash_table_insert (al->applications, in cam_al_install()
135 cam_al_uninstall (CamAL * al, CamALApplication * application) in cam_al_uninstall() argument
139 ret = g_hash_table_remove (al->applications, in cam_al_uninstall()
146 cam_al_get (CamAL * al, guint resource_id) in cam_al_get() argument
148 return CAM_AL_APPLICATION (g_hash_table_lookup (al->applications, in cam_al_get()
173 cam_al_get_resource_ids (CamAL * al) in cam_al_get_resource_ids() argument
177 g_hash_table_foreach (al->applications, foreach_get_key, &resource_ids); in cam_al_get_resource_ids()
183 cam_al_calc_buffer_size (CamAL * al, guint body_length, in cam_al_calc_buffer_size() argument
197 cam_sl_calc_buffer_size (al->sl, apdu_header_length + body_length, in cam_al_calc_buffer_size()
233 CamAL *al = CAM_AL (sl->user_data); in open_session_request_cb() local
238 application = g_hash_table_lookup (al->applications, in open_session_request_cb()