You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2018/11/02 20:46:39 UTC

[19/50] qpid-proton git commit: NO-JIRA: Remove unused deprecated reactor functionality

NO-JIRA: Remove unused deprecated reactor functionality


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/57f5ec14
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/57f5ec14
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/57f5ec14

Branch: refs/heads/go1
Commit: 57f5ec14aebe374d718cbb87c079a7b56cb6b705
Parents: 0800c19
Author: Andrew Stitcher <as...@apache.org>
Authored: Mon Sep 17 13:59:38 2018 -0400
Committer: Andrew Stitcher <as...@apache.org>
Committed: Mon Sep 17 13:59:38 2018 -0400

----------------------------------------------------------------------
 c/include/proton/selectable.h | 27 ---------------------------
 c/src/reactor/selectable.c    | 15 ---------------
 2 files changed, 42 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/57f5ec14/c/include/proton/selectable.h
----------------------------------------------------------------------
diff --git a/c/include/proton/selectable.h b/c/include/proton/selectable.h
index 9bfb867..c6d1722 100644
--- a/c/include/proton/selectable.h
+++ b/c/include/proton/selectable.h
@@ -36,11 +36,6 @@ extern "C" {
  */
 
 /**
- * An iterator for selectables.
- */
-typedef pn_iterator_t pn_selectables_t;
-
-/**
  * A ::pn_socket_t provides an abstract handle to an IO stream.  The
  * pipe version is uni-directional.  The network socket version is
  * bi-directional.  Both are non-blocking.
@@ -88,28 +83,6 @@ typedef int pn_socket_t;
  */
 typedef struct pn_selectable_t pn_selectable_t;
 
-/**
- * Construct a new selectables iterator.
- *
- * @return a pointer to a new selectables iterator
- */
-PNX_EXTERN pn_selectables_t *pn_selectables(void);
-
-/**
- * Get the next selectable from an iterator.
- *
- * @param[in] selectables a selectable iterator
- * @return the next selectable from the iterator
- */
-PNX_EXTERN pn_selectable_t *pn_selectables_next(pn_selectables_t *selectables);
-
-/**
- * Free a selectables iterator.
- *
- * @param[in] selectables a selectables iterator (or NULL)
- */
-PNX_EXTERN void pn_selectables_free(pn_selectables_t *selectables);
-
 PNX_EXTERN pn_selectable_t *pn_selectable(void);
 
 PNX_EXTERN void pn_selectable_on_readable(pn_selectable_t *sel, void (*readable)(pn_selectable_t *));

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/57f5ec14/c/src/reactor/selectable.c
----------------------------------------------------------------------
diff --git a/c/src/reactor/selectable.c b/c/src/reactor/selectable.c
index b42ad1f..473f113 100644
--- a/c/src/reactor/selectable.c
+++ b/c/src/reactor/selectable.c
@@ -28,21 +28,6 @@
 #include <assert.h>
 #include <stdlib.h>
 
-pn_selectables_t *pn_selectables(void)
-{
-  return pn_iterator();
-}
-
-pn_selectable_t *pn_selectables_next(pn_selectables_t *selectables)
-{
-  return (pn_selectable_t *) pn_iterator_next(selectables);
-}
-
-void pn_selectables_free(pn_selectables_t *selectables)
-{
-  pn_free(selectables);
-}
-
 struct pn_selectable_t {
   pn_socket_t fd;
   int index;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org