Subversion Repositories filter_foundry

Rev

Rev 424 | Rev 453 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 424 Rev 444
Line 73... Line 73...
73
        // Furthermore, the "uniqueID/scope" hstm-field in the PIPL must be empty.
73
        // Furthermore, the "uniqueID/scope" hstm-field in the PIPL must be empty.
74
 
74
 
75
        if (parm != NULL) {
75
        if (parm != NULL) {
76
                unsigned long hash;
76
                unsigned long hash;
77
                char* data;
77
                char* data;
78
                // char* debug = malloc(2000);
78
                // char* debug = (char*)malloc(2000);
79
                // sprintf(debug, "getAeteKey %c with title %s/%s in STANDALONE PLUGIN", c, parm->szTitle, parm->szCategory);
79
                // sprintf(debug, "getAeteKey %c with title %s/%s in STANDALONE PLUGIN", c, parm->szTitle, parm->szCategory);
80
                // simplealert(debug);
80
                // simplealert(debug);
81
                // free(debug);
81
                // free(debug);
82
 
82
 
83
                // Use random AETE keys, because AppleScript has a global namespace
83
                // Use random AETE keys, because AppleScript has a global namespace
Line 91... Line 91...
91
                hash = printablehash(djb2(data));
91
                hash = printablehash(djb2(data));
92
                free(data);
92
                free(data);
93
                return hash;
93
                return hash;
94
        }
94
        }
95
        else {
95
        else {
96
                // char* debug = malloc(2000);
96
                // char* debug = (char*)malloc(2000);
97
                // sprintf(debug, "getAeteKey %c in MAIN PLUGIN", c);
97
                // sprintf(debug, "getAeteKey %c in MAIN PLUGIN", c);
98
                // simplealert(debug);
98
                // simplealert(debug);
99
                // free(debug);
99
                // free(debug);
100
 
100
 
101
                // Attention: AETE keys (xpr#, cTl#) must be equal in scripting.r, scripting.rc and scripting.c(getAeteKey)!
101
                // Attention: AETE keys (xpr#, cTl#) must be equal in scripting.r, scripting.rc and scripting.c(getAeteKey)!