summaryrefslogtreecommitdiff
path: root/gisi/client.c
Commit message (Collapse)AuthorAgeFilesLines
* treewide: Remove superfluous use of _GNU_SOURCEJonas Bonn2018-10-171-1/+0
| | | | | | There are a large number of files in the tree that define _GNU_SOURCE despite not actually using features hidden behind this flag. This patch removes all these definitions in one fell swoop...
* gisi: Update copyright informationMarcel Holtmann2011-10-101-1/+1
|
* gisi: simplify pending managementPekka Pessi2011-01-181-164/+35
| | | | | | | | | | Client or server mark their pending objects with the function g_isi_pending_set_owner(). When client or server get destroyed or reset the pending objects are removed with the function g_isi_remove_pending_by_owner(). As a client or server always uses only a particular resource, all the pending objects are conveniently stored into a single list.
* gisi: remove before notifyPekka Pessi2011-01-181-3/+3
| | | | | Just in case, remove pending operations before calling notifys. The notify function can remove client, service or modem.
* gisi: Simplify client interface.Pekka Pessi2011-01-071-21/+58
| | | | | | | | Use send functions without explicit timeout. Return booleans instead of pointers - nobody really used GIsiPending but relied on client doing the cleanup. Add g_isi_client_set_timeout(), g_isi_client_(v)send_with_timeout().
* gisi: Minor style fixesAki Niemi2010-12-221-2/+3
|
* gisi: Explicit compare to NULLAki Niemi2010-12-221-27/+24
|
* gisi: Add client API to reset instanceAki Niemi2010-12-221-1/+13
| | | | | Calling this method will cancel any pending requests, and unsubscribe from any pending subscriptions.
* gisi: Refactor the client APIAki Niemi2010-12-221-742/+139
| | | | | The new client API is a convenience wrapper on the modem API for clients.
* gisi: explicitly compare pointers to NULLLucas De Marchi2010-11-291-23/+23
| | | | | | | | | | | | | | This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
* gisi: fix crash bug in g_isi_remove_subscriptionMika Liljeberg2010-11-111-2/+5
|
* gisi: Use of DBG macro is not allowedMarcel Holtmann2010-10-221-7/+0
|
* gisi: store object handle for associated serverMika Liljeberg2010-10-211-0/+26
|
* gisi: Allow subscribes towards any resourcesMika Liljeberg2010-10-211-78/+148
| | | | | | | Add methods to subscribe indications from an arbitrary resource. Configured resource id is treated as the default. Also added separate commit function for resource subscriptions in order to reduce the number of subscription messages sent to the modem.
* gisi: make timeout optionalMika Liljeberg2010-10-211-20/+31
|
* gisi: Add sendto methods to GIsiClientMika Liljeberg2010-10-211-11/+84
| | | | | Add g_isi_vsendto() and g_isi_sendto() methods for sending messages to an arbitrary Phonet address.
* gisi: Fix copyright and license boilerplateAki Niemi2010-10-141-13/+13
|
* Fix common misspelling in gisiLucas De Marchi2010-09-141-1/+1
| | | | | | | | | | Fix common misspellings by using the list available at http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines From the list cited above, the substitution script found the following misspelling: fomr->from
* gisi: added g_isi_send() and g_isi_vsend()Pekka Pessi2010-09-021-9/+72
| | | | Include a finalize function in GIsiRequest
* gisi: Fix counter for indication subscriptionsAki Niemi2010-08-301-1/+6
|
* Eliminated bool, true and false from gisiPekka Pessi2010-05-271-8/+2
|
* gisi: Add support for NTF requestsAki Niemi2010-05-141-1/+6
| | | | | | | | Notify requests are requests sent by ISA servers towards clients. They are identical to indications in that no response is necessary, but different in that subscription is done not using the mechanism used for indications, but out-of-band. Typically routing for notify requests is enabled using a request-response pair.
* gisi: Return negative errnosAki Niemi2010-05-141-1/+1
|
* gisi: Fix typo in documentationAki Niemi2010-05-141-1/+1
|
* gisi: Add debugging support for requestsAki Niemi2010-05-141-3/+20
|
* gisi: refactor client implementationAki Niemi2010-04-271-211/+312
|
* gisi: check for NULL client and remove warningsPekka Pessi2010-04-201-12/+28
|
* gisi: support sending ISI request as a scatter-gather arrayRémi Denis-Courmont2009-12-181-11/+39
|
* isimodem/voicecall.c: initial versionPekka Pessi2009-10-161-8/+3
| | | | | | | | | Implementing all the voicecall methods. Tested with Nokia 2008 modems. - problems in call creation are probably not reported properly - deflect not implemented in modem, not properly tested TODO: Clean up style issues and align with other drivers.
* gisi: Add ISI version and reachability check APIAki Niemi2009-09-151-0/+43
| | | | | | | | This patch adds an API for querying the ISI version of the resource with which the client is associated. This information is only available after g_isi_verify() has been called on the client. This is because we use the version query message as a vehicle for reachability checking.
* gisi: disable logging by defaultRémi Denis-Courmont2009-09-091-0/+1
| | | | The debug_func was not initialized.
* gisi: Fix indication debuggingAki Niemi2009-08-251-3/+10
|
* gisi: Fix warning in g_isi_subscribe()Aki Niemi2009-08-231-1/+3
| | | | | Save the GIsiModem instance in GIsiClient, so that calling g_isi_subscribe() doesn't throw a warning.
* gisi: Add debugging hooksAki Niemi2009-08-221-0/+28
|
* Phonet: add modem parameter to ISI client APIRémi Denis-Courmont2009-08-191-2/+2
|
* gisi: low-level modem scoping for socketsRémi Denis-Courmont2009-08-191-2/+2
|
* Use phonet.hRémi Denis-Courmont2009-07-031-5/+1
|
* gisi: Fix documentation and add API for resource IDAki Niemi2009-06-251-2/+12
|
* Add GISI_* build variables; remove unnecessary curly bracketsAki Niemi2009-06-221-2/+1
|
* gisi: fixes to request/response handling and timeout registrationAki Niemi2009-06-221-6/+14
|
* gisi: specify destination socket addressRémi Denis-Courmont2009-06-221-3/+28
| | | | Kernel wants it, and returns an error on send otherwise.
* Fix to use negative error return in gisi/client.cAki Niemi2009-06-151-1/+1
|
* Rename ISI client and PhoNet netlink APIsAki Niemi2009-06-151-0/+360
- Add g_ prefix to functions - Add G-prefix and use CamelCasing in types