Beispiel #1
0
///
//  Get socket option `plain_password`.
QString QZsock::plainPassword ()
{
    char *retStr_ = zsock_plain_password (self);
    QString rv = QString (retStr_);
    zstr_free (&retStr_);
    return rv;
}
JNIEXPORT jstring JNICALL
Java_org_zeromq_czmq_Zsock__1_1plainPassword (JNIEnv *env, jclass c, jlong self)
{
    char *plain_password_ = (char *) zsock_plain_password ((zsock_t *) (intptr_t) self);
    jstring return_string_ = (*env)->NewStringUTF (env, plain_password_);
    zstr_free (&plain_password_);
    return return_string_;
}
Beispiel #3
0
///
//  Get socket option `plain_password`.
QString QmlZsock::plainPassword () {
    char *retStr_ = zsock_plain_password (self);
    QString retQStr_ = QString (retStr_);
    free (retStr_);
    return retQStr_;
};