Skip to content

Commit

Permalink
Added support for the startup and shutdown events, as requested
Browse files Browse the repository at this point in the history
(#102).
  • Loading branch information
anthony-tuininga committed Mar 6, 2019
1 parent 92dfa2f commit f57c265
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dpiSubscr.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,10 @@ static int dpiSubscr__populateMessage(dpiSubscr *subscr,
case DPI_EVENT_DEREG:
subscr->registered = 0;
break;
case DPI_EVENT_STARTUP:
case DPI_EVENT_SHUTDOWN:
case DPI_EVENT_SHUTDOWN_ANY:
break;
default:
return dpiError__set(error, "event type", DPI_ERR_NOT_SUPPORTED);
}
Expand Down

0 comments on commit f57c265

Please sign in to comment.