Skip to content

Commit

Permalink
modules/libjstat: drop deprecated funs from jstatctl.h
Browse files Browse the repository at this point in the history
  • Loading branch information
garlick committed Jan 27, 2016
1 parent 74bab35 commit 4eddc63
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/modules/libjsc/jstatctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#ifndef _FLUX_CORE_JSTATCTRL_H
#define _FLUX_CORE_JSTATCTRL_H 1

#include <json.h>
#include <flux/core.h>

/**
Expand Down Expand Up @@ -54,7 +53,6 @@ typedef enum {
J_FOR_RENT /*!< Space For Rent */
} job_state_t;

typedef int (*jsc_handler_obj_f)(json_object *base_jcb, void *arg, int errnum);
typedef int (*jsc_handler_f)(const char *base_jcb, void *arg, int errnum);

/* TODO: find a better way to manage this hierarchical
Expand Down Expand Up @@ -96,8 +94,6 @@ typedef int (*jsc_handler_f)(const char *base_jcb, void *arg, int errnum);
* multiple times. The callbacks will be invoked in the order
* they are registered. Returns 0 on success; otherwise -1.
*/
int jsc_notify_status_obj (flux_t h, jsc_handler_obj_f callback, void *d)
__attribute__ ((deprecated));
int jsc_notify_status (flux_t h, jsc_handler_f callback, void *d);

/**
Expand All @@ -107,9 +103,6 @@ int jsc_notify_status (flux_t h, jsc_handler_f callback, void *d);
* are trasferred to "jcb," so that json_object_put (*jcb) will free this hierarchy
* in its entirety. Returns 0 on success; otherwise -1.
*/
int jsc_query_jcb_obj (flux_t h, int64_t jobid, const char *key,
json_object **jcb)
__attribute__ ((deprecated));
int jsc_query_jcb (flux_t h, int64_t jobid, const char *key, char **jcb);


Expand All @@ -119,9 +112,6 @@ int jsc_query_jcb (flux_t h, int64_t jobid, const char *key, char **jcb);
* This will not release "jcb," so it is the caller's responsibility to
* free "jcb."
*/
int jsc_update_jcb_obj (flux_t h, int64_t jobid, const char *key,
json_object *jcb)
__attribute__ ((deprecated));
int jsc_update_jcb (flux_t h, int64_t jobid, const char *key, const char *jcb);


Expand Down

0 comments on commit 4eddc63

Please sign in to comment.