FACT++  1.0
JNIEXPORT jint JNICALL Java_dim_Server_selectiveUpdateService ( JNIEnv *  env,
jclass  This,
jint  sid,
jintArray  clients 
)

Definition at line 1459 of file dim_jni.c.

References DBGe, dim_Dbg_UPDATE_SERVICE, do_update_service(), and Java_dim_Server_removeService().

Referenced by Java_dim_Server_addCommand().

1460 {
1461  jint* clientArray;
1462  extern void do_update_service(unsigned, int *);
1463 
1464  if(This){}
1465  if(clients==NULL) clientArray = NULL;
1466  else clientArray = (*env)->GetIntArrayElements(env,clients,0);
1467 
1468  DBGe(dim_Dbg_UPDATE_SERVICE) printf("DimJNI: Server.updateService %d\n", sid);
1469  do_update_service((unsigned int)sid, (int *)clientArray);
1470 
1471  if(clientArray!=NULL) (*env)->ReleaseIntArrayElements(env,clients,clientArray,JNI_ABORT);
1472 
1473 
1474  return 0;
1475 }
int do_update_service(unsigned service_id, int *client_ids)
Definition: dis.c:1714
#define dim_Dbg_UPDATE_SERVICE
Definition: dim_jni.h:54
#define DBGe(test)
Definition: dim_jni.c:64
if(extraDns) new Dns

+ Here is the call graph for this function:

+ Here is the caller graph for this function: