Lines Matching refs:header
343 number[LINEBUFFER], header[LARGEBUFFER];
385 header[0] = 0;
556 SNPRINTF( header, sizeof(header)) "%s: ",
559 len = safestrlen(header);
560 SNPRINTF( header+len, sizeof(header)-len) "%s@%s",
563 len = safestrlen(header);
564 SNPRINTF( header+len, sizeof(header)-len) _(" (originally %s)"), buffer );
566 end_of_name = header+safestrlen(header);
569 len = safestrlen( header );
571 safestrncat( header, _("\n Error: ") );
572 len = safestrlen( header );
575 SNPRINTF( header+len, sizeof(header)-len)
578 SNPRINTF( header+len, sizeof(header)-len)
582 SNPRINTF( header+len, sizeof(header)-len)
586 safestrncat( header, "\n" );
587 DEBUGF(DLPQ3)("Get_queue_status: forward header '%s'", header );
588 if( Write_fd_str( *sock, header ) < 0 ) cleanup(0);
589 header[0] = 0;
593 safestrncat( header, "\n" );
594 if( Write_fd_str( *sock, header ) < 0 ) cleanup(0);
595 header[0] = 0;
831 SNPRINTF( header, sizeof(header))
834 header, number );
837 header, jobsize );
840 header, job_time );
844 header, joberror );
847 SNPRINTF( msg, sizeof(msg)) _("%s CONTROL="), header );
853 SNPRINTF( msg, sizeof(msg)) _("%s HOLDFILE="), header );
871 len = safestrlen( header );
872 SNPRINTF( header+len, sizeof(header)-len) _(" %d job%s"),
875 len = safestrlen( header );
876 SNPRINTF( header+len, sizeof(header)-len) _(" (%d held)"),
880 len = safestrlen( header );
881 SNPRINTF( header+len, sizeof(header)-len) _(" (%d move)"),
885 len = safestrlen( header );
904 len = safestrlen( header );
906 SNPRINTF( header+len, sizeof(header)-len) _(" Comment: %s"), s );
908 SNPRINTF( header+len, sizeof(header)-len) " '%s'", s );
914 len = safestrlen( header );
916 SNPRINTF( header+len, sizeof(header)-len)
924 SNPRINTF( header+len, sizeof(header)-len) " (" );
925 len = safestrlen( header );
927 SNPRINTF( header+len, sizeof(header)-len) "%s%s",
930 len = safestrlen( header );
933 SNPRINTF( header+len, sizeof(header)-len) "%s%s",
936 len = safestrlen( header );
939 SNPRINTF( header+len, sizeof(header)-len) "%s%s",
941 len = safestrlen( header );
943 SNPRINTF( header+len, sizeof(header)-len) ")" );
944 len = safestrlen( header );
955 len = safestrlen( header );
962 SNPRINTF( header+len, sizeof(header)-len)
970 SNPRINTF( header+len, sizeof(header)-len)
974 len = safestrlen( header );
975 SNPRINTF( header+len, sizeof(header)-len)
980 safestrncat( header, ") " );
983 len = safestrlen( header );
985 SNPRINTF( header+len, sizeof(header)-len)
988 SNPRINTF( header+len, sizeof(header)-len)
992 len = safestrlen( header );
995 SNPRINTF( header+len, sizeof(header)-len)
998 SNPRINTF( header+len, sizeof(header)-len)
1003 len = safestrlen( header );
1005 SNPRINTF( header+len, sizeof(header)-len)
1008 SNPRINTF( header+len, sizeof(header)-len)
1013 len = safestrlen( header );
1015 SNPRINTF( header+len, sizeof(header)-len)
1018 SNPRINTF( header+len, sizeof(header)-len)
1023 len = safestrlen( header );
1025 SNPRINTF( header+len, sizeof(header)-len)
1028 SNPRINTF( header+len, sizeof(header)-len)
1033 len = safestrlen( header );
1035 SNPRINTF( header+len, sizeof(header)-len)
1038 SNPRINTF( header+len, sizeof(header)-len)
1044 len = safestrlen( header );
1046 SNPRINTF( header+len, sizeof(header)-len)
1049 SNPRINTF( header+len, sizeof(header)-len)
1053 safestrncat( header, "\n" );
1054 if( Write_fd_str( *sock, header ) < 0 ) cleanup(0);
1055 header[0] = 0;
1125 SNPRINTF( msg, sizeof(msg)) _("%s SPOOLCONTROL=\n"), header );
1348 SNPRINTF(header,sizeof(header))"Printer: %s@%s - ERROR: %s",
1350 DEBUGF(DLPQ1)("Get_queue_status: error msg '%s'", header );
1351 if( Write_fd_str( *sock, header ) < 0 ) cleanup(0);
1419 char header[SMALLBUFFER];
1433 header[0] = 0;
1441 same = !safestrcmp( header, s );
1443 safestrncpy(header,s);